/var/log/cpapi.log {
    missingok
    notifempty
    compress
    rotate 5
    size 10M
    endscript
}
