summaryrefslogtreecommitdiff
path: root/rhel
diff options
context:
space:
mode:
authorGurucharan Shetty <gshetty@nicira.com>2013-02-13 10:25:50 -0800
committerGurucharan Shetty <gshetty@nicira.com>2013-02-14 14:14:33 -0800
commit43516d93396b37e88391a49871b67311bcbb1fa5 (patch)
tree173cab0d25204d66e158ea383a6632ae689638a4 /rhel
parent7d82ab2e6e4223a78c242616a0d72f032d7867e7 (diff)
downloadopenvswitch-43516d93396b37e88391a49871b67311bcbb1fa5.tar.gz
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 <gshetty@nicira.com>
Diffstat (limited to 'rhel')
-rw-r--r--rhel/etc_logrotate.d_openvswitch2
1 files changed, 2 insertions, 0 deletions
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