debian, rhel, xenserver: Ability to collect ovs-ctl logs.
authorGurucharan Shetty <gshetty@nicira.com>
Wed, 13 Mar 2013 22:07:06 +0000 (15:07 -0700)
committerGurucharan Shetty <gshetty@nicira.com>
Fri, 15 Mar 2013 16:16:13 +0000 (09:16 -0700)
commit46528f78e5c0b7484e1735bb774ef2ad92e04593
treeeb1bcf76e4364becb4f2fb5fb4728c03f5f1bfe6
parentf8dfbcb77d7678fa19b4de0f94118b713f74ffb8
debian, rhel, xenserver: Ability to collect ovs-ctl logs.

We use ovs-ctl from startup scripts to start, stop, restart,
force-reload-kmod OVS daemons. ovs-ctl gives quite a descriptive
o/p while running the above commands. But the o/p goes to stdout.
Sometimes, this output is quite useful to debug issues.

With this patch, we store the o/p of ovs-ctl when called from
startup scripts in /var/log/openvswitch/ovs-ctl.log

Signed-off-by: Gurucharan Shetty <gshetty@nicira.com>
debian/openvswitch-switch.init
rhel/etc_init.d_openvswitch
utilities/ovs-lib.in
xenserver/etc_init.d_openvswitch