From 07b4b1190defd33efa5d807ecb3a412eb5cba71e Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Fri, 22 Feb 2013 01:12:32 +0000 Subject: [PATCH] etc/logrotate.conf: Actually rotate log files sometimes. Rather than have them grow to enormous size. Blue moons are too infrequent. --- etc/logrotate.conf | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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 } -- 2.11.0