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 |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame^] | 12 | @BINDIR@/pkill -HUP rsyslogd 2> /dev/null || true |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 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 |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame^] | 37 | @BINDIR@/pkill -HUP rsyslogd 2> /dev/null || true |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 38 | endscript |
| 39 | } |