summarylogtreecommitdiffstats
path: root/opennebula.logrotate
diff options
context:
space:
mode:
Diffstat (limited to 'opennebula.logrotate')
-rw-r--r--opennebula.logrotate25
1 files changed, 25 insertions, 0 deletions
diff --git a/opennebula.logrotate b/opennebula.logrotate
new file mode 100644
index 000000000000..6b8db4c0b89d
--- /dev/null
+++ b/opennebula.logrotate
@@ -0,0 +1,25 @@
+delaycompress
+dateext
+dateformat -%Y%m%d-%s
+
+compress
+weekly
+rotate 52
+
+/var/log/one/one_xmlrpc.log {
+ missingok
+ notifempty
+ copytruncate
+}
+
+/var/log/one/oned.log {
+ missingok
+ notifempty
+ copytruncate
+}
+
+/var/log/one/sched.log {
+ missingok
+ notifempty
+ copytruncate
+}