bunkerweb/logs/logrotate.conf
2020-10-25 16:25:54 +01:00

21 lines
368 B
Plaintext

/var/log/*.log /var/log/clamav/*.log /var/log/nginx/*.log {
# compress old files using gzip
compress
# rotate everyday
daily
# remove old logs after X days
maxage %LOGROTATE_MAXAGE%
rotate %LOGROTATE_MAXAGE%
# no errors if a file is missing
missingok
# disable mailing
nomail
# mininum size of a logfile before rotating
minsize %LOGROTATE_MINSIZE%
}