path: root/sdnvpn/test/functest/
diff options
authorPeriyasamy Palanisamy <>2018-04-16 15:09:16 +0200
committerPeriyasamy Palanisamy <>2018-04-19 13:45:27 +0200
commit303268d0464127c52f11443404fb1baae03d615f (patch)
treeb73d71f5bf6862b332b92af65a19bcd6fd6a9943 /sdnvpn/test/functest/
parentfdabb0a5e92200c09e1476be01bf4353b0823e63 (diff)
Make sdnvpn logging proper
* Currently no log messages are getting written into log file due to file handler is registered for logger object created at different modules. Now corresponding handler is registered for logger objects. * Making sdnvpn Feature class to use its parent class logger object to avoid unnecessary logger object creation. Change-Id: I4ec61951ba4ac39cecc137dbb818da72f0b43b35 Signed-off-by: Periyasamy Palanisamy <>
Diffstat (limited to 'sdnvpn/test/functest/')
1 files changed, 2 insertions, 3 deletions
diff --git a/sdnvpn/test/functest/ b/sdnvpn/test/functest/
index 93f615b..a4cfa5a 100644
--- a/sdnvpn/test/functest/
+++ b/sdnvpn/test/functest/
@@ -13,18 +13,18 @@
# - Start a BGP router with OpenDaylight
# - Add the functest Quagga as a neighbor
# - Verify that the OpenDaylight and gateway Quagga peer
-import logging
import sys
from sdnvpn.lib import config as sdnvpn_config
from sdnvpn.lib import utils as test_utils
from sdnvpn.lib.results import Results
+from sdnvpn.lib import logutil
COMMON_CONFIG = sdnvpn_config.CommonConfig()
TESTCASE_CONFIG = sdnvpn_config.TestcaseConfig(
-logger = logging.getLogger('__name__')
+logger = logutil.getLogger('__name__')
def main():
@@ -67,5 +67,4 @@ def main():
if __name__ == '__main__':
- logging.basicConfig(level=logging.INFO)