/var/log/cocaine-runtime/*.log {
    size 10G
    rotate 5
    missingok
    notifempty
    dateext
    dateformat -%Y%m%d-%s
    nocreate
    postrotate
        pkill -HUP -Ucocaine cocaine-runtime
    endscript
}
