unbit / uwsgi-docs

Official uWSGI docs, examples, tutorials, tips and tricks
MIT License
640 stars 346 forks source link

option to limit the number of log backup #517

Open redstoneleo opened 1 year ago

redstoneleo commented 1 year ago

Currently once set log-maxsize = 2048, then there would be a lot of number of log backup generated later, I hope there is an option like the backupCount parameter of logging.handlers.RotatingFileHandler to limit the number of log backup.