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

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