1234567891011121314151617181920212223242526272829303132333435363738 |
- # Uncomment the following directive if you have re-enabled
- # "/var/log/syslog" in "/etc/rsyslog.d/50-default.conf"
- #/var/log/syslog
- #{
- # rotate 7
- # daily
- # missingok
- # notifempty
- # delaycompress
- # compress
- # postrotate
- # test -r /run/rsyslogd.pid && kill -HUP $(cat /run/rsyslogd.pid) &>/dev/null
- # endscript
- #}
- /var/log/auth.log
- /var/log/cron.log
- /var/log/daemon.log
- /var/log/kern.log
- /var/log/lpr.log
- /var/log/mail.log
- /var/log/news.log
- /var/log/user.log
- /var/log/debug.log
- /var/log/messages
- {
- rotate 4
- weekly
- missingok
- notifempty
- compress
- delaycompress
- sharedscripts
- postrotate
- test -r /run/rsyslogd.pid && kill -HUP $(cat /run/rsyslogd.pid) &>/dev/null
- endscript
- }
|