diff options
| author | Ben Pfaff <blp@nicira.com> | 2011-07-28 10:19:42 -0700 |
|---|---|---|
| committer | Justin Pettit <jpettit@nicira.com> | 2011-08-01 13:23:19 -0700 |
| commit | c1a543a8d6d2847983b6b0defd1e19777da85715 (patch) | |
| tree | 32c38ed3a899a4911e2337a0fe7e2f426bf23a83 /tests | |
| parent | 733a287e17bf3764bf31c9528c6b6d30aafdec5f (diff) | |
| download | openvswitch-c1a543a8d6d2847983b6b0defd1e19777da85715.tar.gz | |
vlog: Add a new log level "off".
Until now, "emer" has effectively been "off" because no messages were ever
logged at "emer" level. Justin points out that it is useful to use "emer"
for messages that indicate a fatal error. This commit makes that change
and adds a new "off" level to really turn off all logging to a facility.
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/interface-reconfigure.at | 4 | ||||
| -rw-r--r-- | tests/test-reconnect.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/tests/interface-reconfigure.at b/tests/interface-reconfigure.at index 90ca127c9..f5add0989 100644 --- a/tests/interface-reconfigure.at +++ b/tests/interface-reconfigure.at @@ -703,7 +703,7 @@ configure_datapath: bridge - xenbr2 configure_datapath: physical - [u'eth2'] configure_datapath: extra ports - [] configure_datapath: extra bonds - [] -/usr/bin/ovs-vsctl --timeout=5 -vANY:console:emer get-fail-mode xenbr2 +/usr/bin/ovs-vsctl --timeout=5 -vANY:console:off get-fail-mode xenbr2 Applying changes to /etc/sysconfig/network-scripts/route-xenbr2 configuration Applying changes to /etc/sysconfig/network configuration Applying changes to /etc/sysconfig/network-scripts/ifcfg-xenbr2 configuration @@ -718,7 +718,7 @@ Applying changes to /etc/sysconfig/network-scripts/ifcfg-xenbr2 configuration set Bridge xenbr2 fail_mode=secure remove Bridge xenbr2 other_config disable-in-band br-set-external-id xenbr2 xs-network-uuids d08c8749-0c8f-9e8d-ce25-fd364661ee99 -/usr/bin/ovs-vsctl --timeout=5 -vANY:console:emer get interface eth2 ofport +/usr/bin/ovs-vsctl --timeout=5 -vANY:console:off get interface eth2 ofport /usr/bin/ovs-ofctl add-flow xenbr2 idle_timeout=0,priority=0,in_port=5,arp,nw_proto=1,actions=local /usr/bin/ovs-ofctl add-flow xenbr2 idle_timeout=0,priority=0,in_port=local,arp,dl_src=00:15:17:a0:29:80,actions=5 /usr/bin/ovs-ofctl add-flow xenbr2 idle_timeout=0,priority=0,in_port=5,dl_dst=00:15:17:a0:29:80,actions=local diff --git a/tests/test-reconnect.c b/tests/test-reconnect.c index fae0f1780..494046ccf 100644 --- a/tests/test-reconnect.c +++ b/tests/test-reconnect.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2009, 2010 Nicira Networks. + * Copyright (c) 2009, 2010, 2011 Nicira Networks. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -47,7 +47,7 @@ main(void) int old_time; char line[128]; - vlog_set_levels(&VLM_reconnect, VLF_ANY_FACILITY, VLL_EMER); + vlog_set_levels(&VLM_reconnect, VLF_ANY_FACILITY, VLL_OFF); now = 1000; reconnect = reconnect_create(now); |
