From: Gurucharan Shetty Date: Wed, 13 Feb 2013 18:25:50 +0000 (-0800) Subject: rhel, xenserver: Make logrotate daily and compress old logs. X-Git-Tag: sliver-openvswitch-1.10.90-1~11^2~31 X-Git-Url: http://git.onelab.eu/?p=sliver-openvswitch.git;a=commitdiff_plain;h=43516d93396b37e88391a49871b67311bcbb1fa5 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 --- 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