logrotate: Allow logs to be missing
authorIan Campbell <Ian.Campbell@citrix.com>
Wed, 14 Oct 2009 10:38:40 +0000 (11:38 +0100)
committerBen Pfaff <blp@nicira.com>
Fri, 26 Mar 2010 21:42:55 +0000 (14:42 -0700)
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_openvswitch

index 22aab36aea9ff1a4f11026dbe1d88a084572cd41..18eb192518c6c7b6a26ce91134e18c314fc699af 100644 (file)
@@ -7,6 +7,7 @@
 
 /var/log/openvswitch/* {
        sharedscripts
+       missingok
        postrotate
        # Tell Open vSwitch daemons to reopen their log files
        /usr/bin/ovs-appctl -t ovs-vswitchd vlog/reopen