Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Improve ovs logging

OVS 1.2 added a log level called "off" that
is a better way to turn off logging, so we now use that in
interface-reconfigure.  It's a good idea to apply this, then, after
you update to OVS 1.2 or later.  There are no ill effects if you
don't, except that fatal errors (which wouldn't normally occur) will
be printed on the console as well as logged.

Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: Rob Hoes <rob.hoes@citrix.com>
  • Loading branch information...
commit bb61988a6457aca02a394ed0456d68c071b27410 1 parent 2219eb1
Rob Hoes robhoes authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  scripts/InterfaceReconfigureVswitch.py
2  scripts/InterfaceReconfigureVswitch.py
View
@@ -721,7 +721,7 @@ def bring_down(self):
def vswitchCfgQuery(action_args):
cmd = ['%s/usr/bin/ovs-vsctl' % root_prefix(),
- '--timeout=5', '-vANY:console:emer'] + action_args
+ '--timeout=5', '-vANY:console:off'] + action_args
output = subprocess.Popen(cmd, stdout=subprocess.PIPE).communicate()
if len(output) == 0 or output[0] == None:
output = ""
Please sign in to comment.
Something went wrong with that request. Please try again.