/var/log/cocaine-runtime/*.log {
    daily
    maxsize 3G
    rotate 7
    missingok
    notifempty
    dateext
    dateformat -%Y%m%d-%s
    nocreate
    postrotate
        pkill -HUP -Ucocaine cocaine-runtime
    endscript
}
