Closed Cologler closed 3 years ago
When I use pm2 to launch the name server, nothing logs to the stdout.
pm2
Finally, I added sys.stdout.flush() before the daemon.requestLoop() and it worked.
sys.stdout.flush()
daemon.requestLoop()
https://github.com/irmen/Pyro5/blob/0f09262d4bd3957db3fa0d3ce3efbe7390093aed/Pyro5/nameserver.py#L679-L683
When I use
pm2
to launch the name server, nothing logs to the stdout.Finally, I added
sys.stdout.flush()
before thedaemon.requestLoop()
and it worked.https://github.com/irmen/Pyro5/blob/0f09262d4bd3957db3fa0d3ce3efbe7390093aed/Pyro5/nameserver.py#L679-L683