git://git.onelab.eu
/
sliver-openvswitch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dde98f4
)
logrotate: Allow logs to be missing
author
Ian Campbell
<Ian.Campbell@citrix.com>
Wed, 14 Oct 2009 10:38:40 +0000
(11:38 +0100)
committer
Ben Pfaff
<blp@nicira.com>
Wed, 14 Oct 2009 19:52:07 +0000
(12:52 -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_vswitch
patch
|
blob
|
history
diff --git
a/xenserver/etc_logrotate.d_vswitch
b/xenserver/etc_logrotate.d_vswitch
index
6366c67
..
3186e10
100644
(file)
--- 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