From 244413eeda0b62f009fbe765f295d840fd2dd189 Mon Sep 17 00:00:00 2001 From: Ilya Maximets Date: Tue, 25 Dec 2018 20:54:15 +0300 Subject: 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 Signed-off-by: Ben Pfaff --- tests/test-ovsdb.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tests') 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: -- cgit v1.2.1