# Custom EvoLinux
create 640 root adm
dateext
dateyesterday
dateformat .%Y%m%d
missingok
notifempty
delaycompress
compress
postrotate
{% if ansible_distribution_major_version is version('10', '>=') %}
    /usr/lib/rsyslog/rsyslog-rotate
{% else %}
    invoke-rc.d rsyslog rotate > /dev/null
{% endif %}
endscript

/var/log/daemon.log
/var/log/kern.log
/var/log/lpr.log
{
    weekly
    rotate 5
}

/var/log/auth.log
/var/log/user.log
/var/log/cron.log
/var/log/debug
/var/log/messages
/var/log/syslog
/var/log/mail.info
/var/log/mail.warn
/var/log/mail.err
/var/log/mail.log
{
    daily
    rotate 365
}
