Michael Still | 9e81421 | 2013-12-25 11:19:28 +1100 | [diff] [blame] | 1 | /var/log/syslog |
2 | { | ||||
3 | rotate 7 | ||||
4 | daily | ||||
5 | missingok | ||||
6 | notifempty | ||||
7 | delaycompress | ||||
8 | compress | ||||
9 | postrotate | ||||
10 | reload rsyslog >/dev/null 2>&1 || true | ||||
11 | endscript | ||||
12 | } | ||||
13 | |||||
14 | /var/log/mail.info | ||||
15 | /var/log/mail.warn | ||||
16 | /var/log/mail.err | ||||
17 | /var/log/mail.log | ||||
18 | /var/log/daemon.log | ||||
19 | /var/log/kern.log | ||||
20 | /var/log/auth.log | ||||
21 | /var/log/user.log | ||||
22 | /var/log/lpr.log | ||||
23 | /var/log/cron.log | ||||
24 | /var/log/debug | ||||
25 | /var/log/messages | ||||
26 | { | ||||
27 | rotate 4 | ||||
28 | weekly | ||||
29 | missingok | ||||
30 | notifempty | ||||
31 | compress | ||||
32 | delaycompress | ||||
33 | sharedscripts | ||||
34 | postrotate | ||||
35 | reload rsyslog >/dev/null 2>&1 || true | ||||
36 | endscript | ||||
37 | } |