tftpboot/scripts/latecommand/bullseye/etc/logrotate.d/rsyslog

109 lines
1.7 KiB
Plaintext
Raw Normal View History

# Default directives are activilly used, please see /etc/logrotate.conf
/var/log/syslog
/var/log/syslog.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 8
daily
missingok
olddir /var/log/syslog.d
postrotate
/usr/lib/rsyslog/rsyslog-rotate
endscript
}
/var/log/cron.log /var/log/mark.log {
maxsize 250k
missingok
sharedscripts
olddir /var/log/cron.d
postrotate
/usr/lib/rsyslog/rsyslog-rotate
endscript
}
/var/log/daemon.log {
maxsize 250k
missingok
sharedscripts
olddir /var/log/daemon.d
postrotate
/usr/lib/rsyslog/rsyslog-rotate
endscript
}
/var/log/kern.log /var/log/kernel.log {
maxsize 250k
missingok
sharedscripts
olddir /var/log/kern.d
postrotate
/usr/lib/rsyslog/rsyslog-rotate
endscript
}
/var/log/lpr.log {
maxsize 250k
missingok
sharedscripts
olddir /var/log/lpr.d
postrotate
/usr/lib/rsyslog/rsyslog-rotate
endscript
}
/var/log/mail.log
/var/log/mail.info
/var/log/mail.warn
/var/log/mail.err
{
maxsize 250k
missingok
sharedscripts
olddir /var/log/mail.d
postrotate
/usr/lib/rsyslog/rsyslog-rotate
endscript
}
/var/log/auth.log
/var/log/authpriv.log
/var/log/user.log
{
maxsize 250k
missingok
sharedscripts
olddir /var/log/auth.d
postrotate
/usr/lib/rsyslog/rsyslog-rotate
endscript
}
/var/log/messages /var/log/debug {
maxsize 250k
missingok
sharedscripts
olddir /var/log/messages.d
postrotate
/usr/lib/rsyslog/rsyslog-rotate
endscript
}