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:18:52 +0000 (09:18 -0700)
commit6864873b2ddaaca0e5a5f18aa97bc1eb73df0631
treea03dbcf03b86d9715c621d1b3baebc26bcf09eb0
parent2960f18c400407ff73ebccc23e90ddf0d381fe59
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