1

I'm running Gunicorn and all the access and error logs are appended to 2 files (one for access and one for error). I'm looking for ways to rotate out those logs on a daily basis as to not have 2 massive files for all logs. I was thinking of passing in a dict config into the Gunicorn configuration file, however it doesn't seem to be working. Also, I'm aware a similar question has been asked here, but that is rotating logs using the logrotate linux command which I cannot use in my current situation. Is there anyone who has run into something similar and found a workaround?

stanthemag
  • 11
  • 1

0 Answers0