2017-09-05 17:04:52 +02:00
|
|
|
# Default directives are activilly used, please see /etc/logrotate.conf
|
2015-04-01 16:24:07 +02:00
|
|
|
|
|
|
|
/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
|
|
|
|
{
|
2018-01-30 16:48:12 +01:00
|
|
|
rotate 8
|
|
|
|
daily
|
|
|
|
missingok
|
|
|
|
olddir /var/log/syslog.d
|
|
|
|
|
|
|
|
postrotate
|
|
|
|
invoke-rc.d rsyslog rotate > /dev/null
|
|
|
|
|
|
|
|
endscript
|
2015-04-01 16:24:07 +02:00
|
|
|
}
|
|
|
|
|
2018-01-30 16:48:12 +01:00
|
|
|
/var/log/cron.log /var/log/mark.log {
|
|
|
|
maxsize 250k
|
|
|
|
missingok
|
|
|
|
sharedscripts
|
|
|
|
olddir /var/log/cron.d
|
|
|
|
|
|
|
|
postrotate
|
|
|
|
invoke-rc.d rsyslog rotate > /dev/null
|
|
|
|
|
|
|
|
endscript
|
2017-09-05 17:04:52 +02:00
|
|
|
}
|
|
|
|
|
2018-01-30 16:48:12 +01:00
|
|
|
/var/log/daemon.log {
|
|
|
|
maxsize 250k
|
|
|
|
missingok
|
|
|
|
sharedscripts
|
|
|
|
olddir /var/log/daemon.d
|
|
|
|
|
|
|
|
postrotate
|
|
|
|
invoke-rc.d rsyslog rotate > /dev/null
|
|
|
|
|
|
|
|
endscript
|
2017-09-05 17:04:52 +02:00
|
|
|
}
|
|
|
|
|
2018-01-30 16:48:12 +01:00
|
|
|
/var/log/kern.log /var/log/kernel.log {
|
|
|
|
maxsize 250k
|
|
|
|
missingok
|
|
|
|
sharedscripts
|
|
|
|
olddir /var/log/kern.d
|
|
|
|
|
|
|
|
postrotate
|
|
|
|
invoke-rc.d rsyslog rotate > /dev/null
|
|
|
|
|
|
|
|
endscript
|
2017-09-05 17:04:52 +02:00
|
|
|
}
|
|
|
|
|
2018-01-30 16:48:12 +01:00
|
|
|
/var/log/lpr.log {
|
|
|
|
maxsize 250k
|
|
|
|
missingok
|
|
|
|
sharedscripts
|
|
|
|
olddir /var/log/lpr.d
|
|
|
|
|
|
|
|
postrotate
|
|
|
|
invoke-rc.d rsyslog rotate > /dev/null
|
|
|
|
|
|
|
|
endscript
|
2017-09-05 17:04:52 +02:00
|
|
|
}
|
|
|
|
|
2015-04-01 16:24:07 +02:00
|
|
|
/var/log/mail.log
|
|
|
|
/var/log/mail.info
|
|
|
|
/var/log/mail.warn
|
|
|
|
/var/log/mail.err
|
2017-09-05 17:04:52 +02:00
|
|
|
{
|
2018-01-30 16:48:12 +01:00
|
|
|
maxsize 250k
|
|
|
|
missingok
|
|
|
|
sharedscripts
|
|
|
|
olddir /var/log/mail.d
|
|
|
|
|
|
|
|
postrotate
|
|
|
|
invoke-rc.d rsyslog rotate > /dev/null
|
|
|
|
|
|
|
|
endscript
|
2017-09-05 17:04:52 +02:00
|
|
|
}
|
|
|
|
|
2015-04-01 16:24:07 +02:00
|
|
|
/var/log/auth.log
|
|
|
|
/var/log/authpriv.log
|
|
|
|
/var/log/user.log
|
2017-09-05 17:04:52 +02:00
|
|
|
{
|
2018-01-30 16:48:12 +01:00
|
|
|
maxsize 250k
|
|
|
|
missingok
|
|
|
|
sharedscripts
|
|
|
|
olddir /var/log/auth.d
|
|
|
|
|
|
|
|
postrotate
|
|
|
|
invoke-rc.d rsyslog rotate > /dev/null
|
|
|
|
|
|
|
|
endscript
|
2017-09-05 17:04:52 +02:00
|
|
|
}
|
|
|
|
|
2018-01-30 16:48:12 +01:00
|
|
|
/var/log/messages /var/log/debug {
|
|
|
|
maxsize 250k
|
|
|
|
missingok
|
|
|
|
sharedscripts
|
|
|
|
olddir /var/log/messages.d
|
|
|
|
|
|
|
|
postrotate
|
|
|
|
invoke-rc.d rsyslog rotate > /dev/null
|
|
|
|
|
|
|
|
endscript
|
2015-04-01 16:24:07 +02:00
|
|
|
}
|
2018-01-30 16:48:12 +01:00
|
|
|
|