I have struggled a lot with Service logs being very unstable. It takes a long time to connect, and it often disconnects in the middle of a service being run. This makes it impossible for me to test or debug the service.
Might there be an error on my side? Any way to debug this?
In production environments with load balancing, the service logs may be unstable due to the use of web sockets (for the logs) and load balancing in the infrastructure.There is no quickfix to that issue, but it will be addressed at some point.
Since your solution has a staging environment with production configuration, your solution is load balanced in staging as well - that is why the logs appear unstable for your solution. Let us know (DM) if we should turn off this load balancing.