/var/log/mcelog {
    compress
    dateext
    maxage 365
    rotate 99
    size=+2048k
    notifempty
    missingok
    copytruncate
    postrotate
    chmod 644 /var/log/mcelog
    [ -r /var/run/mcelog.pid ] && kill -USR1 `cat /var/run/mcelog.pid`
    endscript
}

