summaryrefslogtreecommitdiffstats
path: root/share/logrotate/cephfs-snap
diff options
context:
space:
mode:
Diffstat (limited to 'share/logrotate/cephfs-snap')
-rw-r--r--share/logrotate/cephfs-snap11
1 files changed, 11 insertions, 0 deletions
diff --git a/share/logrotate/cephfs-snap b/share/logrotate/cephfs-snap
new file mode 100644
index 0000000..e948edf
--- /dev/null
+++ b/share/logrotate/cephfs-snap
@@ -0,0 +1,11 @@
+/var/log/storage-tools/cephfs-snap/cephfs-snap.log {
+ compress
+ create 0640 root adm
+ dateext
+ dateformat -%Y%m
+ dateyesterday
+ missingok
+ monthly
+ notifempty
+ rotate 12
+}