tftpboot/preseed/debian/finish/logrotate/rsyslog

77 lines
1.4 KiB
Plaintext

# Ensure to rotate all log files (old and new logpath from Rsyslog)
/var/log/syslog/syslog
/var/log/syslog/syslog.log
/var/log/syslog/daemon.log
/var/log/syslog/local0.log
/var/log/syslog/local1.log
/var/log/syslog/local2.log
/var/log/syslog/local3.log
/var/log/syslog/local4.log
/var/log/syslog/local5.log
/var/log/syslog/local6.log
/var/log/syslog/local7.log
/var/log/syslog/uucp.log
/var/log/syslog
/var/log/syslog.log
/var/log/daemon.log
/var/log/local0.log
/var/log/local1.log
/var/log/local2.log
/var/log/local3.log
/var/log/local4.log
/var/log/local5.log
/var/log/local6.log
/var/log/local7.log
/var/log/uucp.log
{
rotate 7
daily
missingok
notifempty
compress
delaycompress
postrotate
invoke-rc.d rsyslog rotate > /dev/null
endscript
}
/var/log/cron/cron.log
/var/log/cron/mark.log
/var/log/kernel/kern.log
/var/log/kernel/kernel.log
/var/log/lpr/lpr.log
/var/log/mail/*.log
/var/log/security/auth.log
/var/log/security/authpriv.log
/var/log/security/user.log
/var/log/messages/messages
/var/log/news/news.log
/var/log/cron.log
/var/log/mark.log
/var/log/kern.log
/var/log/kernel.log
/var/log/lpr.log
/var/log/mail.log
/var/log/mail.info
/var/log/mail.warn
/var/log/mail.err
/var/log/auth.log
/var/log/authpriv.log
/var/log/user.log
/var/log/messages
/var/log/debug
{
rotate 4
maxsize 250k
weekly
missingok
notifempty
compress
delaycompress
sharedscripts
postrotate
invoke-rc.d rsyslog rotate > /dev/null
endscript
}