File zookeeper.logrotate of Package zookeeper

/var/log/zookeeper/*.log {
    compress
    rotate 15
    size 1M
    dateext
    missingok
    notifempty
    su zookeeper zookeeper
    copytruncate
    sharedscripts
}