/var/log/scanlog.log {
    compress
    dateext
    maxage 3650
    rotate 999
    size=+1024k
    notifempty
    missingok
    copytruncate
}

