# Separate stat/*.log into a different rule because sometimes
# it doesn't exist, and logrotate will ignore the entire rule
# if any part of the file list isn't found.
/var/log/ceph/stat/*.log {
    rotate 7
    daily
    compress
}

/var/log/ceph/*.log {
    rotate 7
    daily
    compress
    sharedscripts
    postrotate
        invoke-rc.d ceph reload >/dev/null || service ceph reload >/dev/null
    endscript
}
