Logging
Logging can be configured by using various flags detailed in the configuration documentation or by creating a logging configuration file. Send the USR1
signal to rotate logs if you are using the logrotate utility:
kill -USR1 $(cat /var/run/gunicorn.pid)
Note
Overriding the LOGGING
dictionary requires to set disable_existing_loggers: False
to not interfere with the Gunicorn logging.
Warning
Gunicorn error log is here to log errors from Gunicorn, not from another application.