blob: 5f8568fce639fe088967540c815115d9f4d65963 [file] [log] [blame]
Patrick Williamsb48b7b42016-08-17 15:04:38 -05001# /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 Bishop1a4b7ee2018-12-16 17:11:34 -080012 @BINDIR@/pkill -HUP rsyslogd 2> /dev/null || true
Patrick Williamsb48b7b42016-08-17 15:04:38 -050013 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 Bishop1a4b7ee2018-12-16 17:11:34 -080037 @BINDIR@/pkill -HUP rsyslogd 2> /dev/null || true
Patrick Williamsb48b7b42016-08-17 15:04:38 -050038 endscript
39}