Python Forum

Full Version: Using gunicorn workers to log to single file
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'm using gunicorn to spawn a few workers and want to write to the workers to write to the same log file. Also logrotate would be used to rotate this log file once a day. Also I'm using Python v3.6.3. Whats the right file handler to use in this case?

Thanks!