From 0c394dddf70ab2f52dc068a296babacb7504720d Mon Sep 17 00:00:00 2001 From: Javi Fontan Date: Fri, 13 Mar 2015 14:26:52 +0100 Subject: [PATCH] feature #301: add logrotate configuration (cherry picked from commit 7c26e8ca1decb0a4f46be2703fdacac1afdf26e3) --- share/pkgs/logrotate/opennebula | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 share/pkgs/logrotate/opennebula diff --git a/share/pkgs/logrotate/opennebula b/share/pkgs/logrotate/opennebula new file mode 100644 index 0000000000..358853ad0c --- /dev/null +++ b/share/pkgs/logrotate/opennebula @@ -0,0 +1,21 @@ +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 +}