From 5379a7d3faa54dde285d5f026a15f4b1d91ed1c8 Mon Sep 17 00:00:00 2001 From: Ian Campbell Date: Wed, 14 Oct 2009 11:38:40 +0100 Subject: [PATCH] logrotate: Allow logs to be missing In particular ovs-brcompatd.log is not present if compatibility mode is disabled. Without this logrotate attempts to send email to the administrator. --- xenserver/etc_logrotate.d_vswitch | 1 + 1 file changed, 1 insertion(+) diff --git a/xenserver/etc_logrotate.d_vswitch b/xenserver/etc_logrotate.d_vswitch index 6366c6758..3186e1056 100644 --- a/xenserver/etc_logrotate.d_vswitch +++ b/xenserver/etc_logrotate.d_vswitch @@ -7,6 +7,7 @@ /var/log/ovs-vswitchd.log /var/log/ovs-brcompatd.log { sharedscripts + missingok postrotate # Tell ovs-vswitchd and ovs-brcompatd to reopen their log files /sbin/service vswitch reload -- 2.47.0