Vinay Sajip <vinay_sa...@yahoo.co.uk> added the comment:
It's not Gunicorn-specific - more a case of multiple processes writing to a single log file. This is not supported directly, as documented here: https://docs.python.org/3/howto/logging-cookbook.html#logging-to-a-single-file-from-multiple-processes As the cookbook says, you can set up a separate process to handle logging to file, which listens with a socket server or a multiprocessing QueueListener; your worker processes would communicate with it using either a SocketHandler or a QueueHandler, as appropriate. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue29001> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com