From 1ec06237327293d18c494a915faed756188447b0 Mon Sep 17 00:00:00 2001 From: Panagiotis Karalis Date: Fri, 25 May 2018 11:53:57 +0300 Subject: Fix the logging to be compatible with functest In order to collect logs from SFC test scenarios running through functest framework (mainly for troubleshooting purposes), the logging mechanism has been updated accordingly. JIRA: SFC-125 Change-Id: Ide7c32519afa6ece299d0ac1dcb168609a2e3945 Signed-off-by: Panagiotis Karalis --- sfc/tests/functest/sfc_one_chain_two_service_functions.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sfc/tests/functest/sfc_one_chain_two_service_functions.py') diff --git a/sfc/tests/functest/sfc_one_chain_two_service_functions.py b/sfc/tests/functest/sfc_one_chain_two_service_functions.py index 7b24d575..eeb2ec8c 100644 --- a/sfc/tests/functest/sfc_one_chain_two_service_functions.py +++ b/sfc/tests/functest/sfc_one_chain_two_service_functions.py @@ -8,13 +8,13 @@ # http://www.apache.org/licenses/LICENSE-2.0 # import threading +import logging import sfc.lib.odl_utils as odl_utils import sfc.lib.config as sfc_config -from opnfv.utils import opnfv_logger as logger from sfc.tests.functest import sfc_parent_function """ logging configuration """ -logger = logger.Logger(__name__).getLogger() +logger = logging.getLogger(__name__) class SfcOneChainTwoServiceTC(sfc_parent_function.SfcCommonTestCase): -- cgit 1.2.3-korg