Logging stops 30 minutes after the screen is turned off. When turning the screen back on the app is no longer running.
I use oruxmaps v. 7.3.2 donate with "fused location provider" setting activated.
In android settings I deactivated any available energy saving setting.
I tried the "widget trick" mentioned in some posts, but it did not change anything.
My phone:
Nokia 6.1
Android 8.1.0
The energy saving mechanisms in new android versions seem to be quite aggressive. I hope you find a way round them...
Regards
Gunnar