[Django]-How to automatic control uwsgi log size

10👍

you need log-maxsize

[uwsgi]
;...
;...
log-maxsize = 2048

1👍

You may also want to setup logrotate to keep backups for files (which you can have it compress the rotated log).
http://linuxcommand.org/man_pages/logrotate8.html

Leave a comment