diff mbox

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

Message ID 20161117133928.16730-1-russell@ovn.org
State Accepted
Headers show

Commit Message

Russell Bryant Nov. 17, 2016, 1:39 p.m. UTC
This option was documented, but didn't actually work because
it wasn't used when starting ovn-controller.

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

Comments

Simon Horman Nov. 17, 2016, 3:44 p.m. UTC | #1
On Thu, Nov 17, 2016 at 08:39:27AM -0500, Russell Bryant wrote:
> This option was documented, but didn't actually work because
> it wasn't used when starting ovn-controller.
> 
> Signed-off-by: Russell Bryant <russell@ovn.org>

Acked-by: Simon Horman <simon.horman@netronome.com>
diff mbox

Patch

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" "$@"
 }