[ovs-dev] [PATCH 1/2] ovn-ctl: Fix --ovn-controller-log.

Russell Bryant russell at ovn.org
Thu Nov 17 13:39:27 UTC 2016


This option was documented, but didn't actually work because
it wasn't used when starting ovn-controller.

Signed-off-by: Russell Bryant <russell at ovn.org>
---
 ovn/utilities/ovn-ctl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ovn/utilities/ovn-ctl b/ovn/utilities/ovn-ctl
index 8544d14..09d6e98 100755
--- a/ovn/utilities/ovn-ctl
+++ b/ovn/utilities/ovn-ctl
@@ -112,7 +112,7 @@ start_northd () {
 
 start_controller () {
     set ovn-controller "unix:$DB_SOCK"
-    set "$@" -vconsole:emer -vsyslog:err -vfile:info
+    set "$@" $OVN_CONTROLLER_LOG
     OVS_RUNDIR=${OVN_RUNDIR} start_daemon "$OVN_CONTROLLER_PRIORITY" "$OVN_CONTROLLER_WRAPPER" "$@"
 }
 
-- 
2.9.3



More information about the dev mailing list