chiark
/
gitweb
/
~mdw
/
mirror-admin
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
43d4239
)
etc/logrotate.conf: Actually rotate log files sometimes.
author
Mark Wooding
<mdw@distorted.org.uk>
Fri, 22 Feb 2013 01:12:32 +0000
(
01:12
+0000)
committer
Mark Wooding
<mdw@distorted.org.uk>
Fri, 22 Feb 2013 01:14:32 +0000
(
01:14
+0000)
Rather than have them grow to enormous size. Blue moons are too
infrequent.
etc/logrotate.conf
patch
|
blob
|
blame
|
history
diff --git
a/etc/logrotate.conf
b/etc/logrotate.conf
index a67d4a262c1e4d0ff8717708e43a5d78b20b0f4b..601aeb5e3c90850edcff4cbf12f7231da001a895 100644
(file)
--- 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
}