chiark / gitweb /
etc/logrotate.conf: Actually rotate log files sometimes.
[mirror-admin] / etc / logrotate.conf
index a67d4a262c1e4d0ff8717708e43a5d78b20b0f4b..601aeb5e3c90850edcff4cbf12f7231da001a895 100644 (file)
@@ -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
 }