Logrotate seems to ignore the entire rule if any part of the file list
is not found. This happens on nodes with only monitors.
Signed-off-by: Sage Weil <sage@newdream.net>
-/var/log/ceph/*.log /var/log/ceph/stat/*.log {
+# 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