From 43516d93396b37e88391a49871b67311bcbb1fa5 Mon Sep 17 00:00:00 2001 From: Gurucharan Shetty Date: Wed, 13 Feb 2013 10:25:50 -0800 Subject: [PATCH] rhel, xenserver: Make logrotate daily and compress old logs. The default values can be different and usually comes from /etc/logrotate.conf. For xenserver6.0.2, the values in /etc/logrotate.conf is daily and compress. So this patch does not make any difference. But it does future proof against any changes in xenserver in the future. For rhel6.1, the values are weekly and un-compress. Signed-off-by: Gurucharan Shetty --- rhel/etc_logrotate.d_openvswitch | 2 ++ xenserver/etc_logrotate.d_openvswitch | 2 ++ 2 files changed, 4 insertions(+) diff --git a/rhel/etc_logrotate.d_openvswitch b/rhel/etc_logrotate.d_openvswitch index 46b94b9f6..73751d457 100644 --- a/rhel/etc_logrotate.d_openvswitch +++ b/rhel/etc_logrotate.d_openvswitch @@ -6,6 +6,8 @@ # without warranty of any kind. /var/log/openvswitch/*.log { + daily + compress sharedscripts missingok postrotate diff --git a/xenserver/etc_logrotate.d_openvswitch b/xenserver/etc_logrotate.d_openvswitch index 46b94b9f6..73751d457 100644 --- a/xenserver/etc_logrotate.d_openvswitch +++ b/xenserver/etc_logrotate.d_openvswitch @@ -6,6 +6,8 @@ # without warranty of any kind. /var/log/openvswitch/*.log { + daily + compress sharedscripts missingok postrotate -- 2.43.0