The default values can be different and usually comes from /etc/logrotate.conf.

Signed-off-by: Gurucharan Shetty <gshe...@nicira.com>
---
 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 46b94b9..73751d4 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 46b94b9..73751d4 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
-- 
1.7.9.5

_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to