From: Mark Wooding Date: Fri, 22 Feb 2013 01:12:32 +0000 (+0000) Subject: etc/logrotate.conf: Actually rotate log files sometimes. X-Git-Url: https://git.distorted.org.uk/~mdw/mirror-admin/commitdiff_plain/07b4b1190defd33efa5d807ecb3a412eb5cba71e etc/logrotate.conf: Actually rotate log files sometimes. Rather than have them grow to enormous size. Blue moons are too infrequent. --- diff --git a/etc/logrotate.conf b/etc/logrotate.conf index a67d4a2..601aeb5 100644 --- a/etc/logrotate.conf +++ b/etc/logrotate.conf @@ -2,10 +2,10 @@ ### ### Log rotation configuration for mirrors. -compress -rotate 31 -minsize 4194304 -daily - /var/lib/mirror-admin/log/*.log { + compress + rotate 8 + notifempty + weekly + create 0644 }