diff options
author | Ilya Maximets <i.maximets@samsung.com> | 2018-12-25 20:54:15 +0300 |
---|---|---|
committer | Ben Pfaff <blp@ovn.org> | 2018-12-25 11:34:30 -0800 |
commit | 244413eeda0b62f009fbe765f295d840fd2dd189 (patch) | |
tree | 1c76e83eccb50ed124b279d1ba223568c54a1da6 /tests | |
parent | b481a4cc93c6ce3530b2a338e5167b200c592996 (diff) | |
download | openvswitch-244413eeda0b62f009fbe765f295d840fd2dd189.tar.gz |
tests: Enable logging for ovsdb test.
It's useful to see the connection attempts and the transactions
in case of test failures.
Signed-off-by: Ilya Maximets <i.maximets@samsung.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test-ovsdb.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/test-ovsdb.py b/tests/test-ovsdb.py index 73fcba63a..c03476c7f 100644 --- a/tests/test-ovsdb.py +++ b/tests/test-ovsdb.py @@ -27,12 +27,17 @@ import ovs.ovsuuid import ovs.poller import ovs.stream import ovs.util +import ovs.vlog from ovs.db import data from ovs.db import error from ovs.fatal_signal import signal_alarm import six +vlog = ovs.vlog.Vlog("test-ovsdb") +vlog.set_levels_from_string("console:dbg") +vlog.init(None) + def unbox_json(json): if type(json) == list and len(json) == 1: |