Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame^] | 1 | # /etc/logrotate.d/rsyslog - Ported from Debian |
2 | |||||
3 | /var/log/syslog | ||||
4 | { | ||||
5 | rotate 7 | ||||
6 | daily | ||||
7 | missingok | ||||
8 | notifempty | ||||
9 | delaycompress | ||||
10 | compress | ||||
11 | postrotate | ||||
12 | /bin/kill -HUP `cat /var/run/rsyslogd.pid 2> /dev/null` 2> /dev/null || true | ||||
13 | endscript | ||||
14 | } | ||||
15 | |||||
16 | /var/log/mail.info | ||||
17 | /var/log/mail.warn | ||||
18 | /var/log/mail.err | ||||
19 | /var/log/mail.log | ||||
20 | /var/log/daemon.log | ||||
21 | /var/log/kern.log | ||||
22 | /var/log/auth.log | ||||
23 | /var/log/user.log | ||||
24 | /var/log/lpr.log | ||||
25 | /var/log/cron.log | ||||
26 | /var/log/debug | ||||
27 | /var/log/messages | ||||
28 | { | ||||
29 | rotate 4 | ||||
30 | weekly | ||||
31 | missingok | ||||
32 | notifempty | ||||
33 | compress | ||||
34 | delaycompress | ||||
35 | sharedscripts | ||||
36 | postrotate | ||||
37 | /bin/kill -HUP `cat /var/run/rsyslogd.pid 2> /dev/null` 2> /dev/null || true | ||||
38 | endscript | ||||
39 | } |