summaryrefslogtreecommitdiff
path: root/cinder.logrotate
diff options
context:
space:
mode:
Diffstat (limited to 'cinder.logrotate')
-rw-r--r--cinder.logrotate11
1 files changed, 11 insertions, 0 deletions
diff --git a/cinder.logrotate b/cinder.logrotate
new file mode 100644
index 0000000..b31713f
--- /dev/null
+++ b/cinder.logrotate
@@ -0,0 +1,11 @@
+compress
+
+/var/log/cinder/*.log {
+ weekly
+ rotate 4
+ missingok
+ compress
+ minsize 100k
+ size 10M
+ copytruncate
+}