notifempty
compress
delaycompress
- dateext
- size 4M
- olddir /var/log/.old
+ dateext
+ size 4M
+ olddir /var/log/.old
+ sharedscripts
postrotate
invoke-rc.d rsyslog rotate > /dev/null
endscript
}
+/var/log/all.log
/var/log/mail.info
/var/log/mail.warn
/var/log/mail.err
/var/log/lpr.log
/var/log/cron.log
/var/log/debug
+/var/log/debug.log
{
rotate 4
weekly
notifempty
compress
delaycompress
- dateext
- size 4M
- olddir /var/log/.old
+ dateext
+ size 4M
+ olddir /var/log/.old
sharedscripts
postrotate
invoke-rc.d rsyslog rotate > /dev/null
}
/var/log/syslog.d/*.log {
- rotate 10
- weekly
- missingok
- notifempty
- size 4M
- delaycompress
- dateext
- compress
- olddir /var/log/syslog.d/.old
- sharedscripts
- postrotate
+ rotate 10
+ weekly
+ missingok
+ notifempty
+ size 4M
+ delaycompress
+ dateext
+ compress
+ olddir /var/log/syslog.d/.old
+ sharedscripts
+ postrotate
invoke-rc.d rsyslog rotate > /dev/null
- endscript
+ endscript
}
# vim: ts=4 filetype=conf et