diff options
author | Panagiotis Karalis <pkaralis@intracom-telecom.com> | 2018-05-25 11:53:57 +0300 |
---|---|---|
committer | Panagiotis Karalis <pkaralis@intracom-telecom.com> | 2018-06-05 16:44:22 +0300 |
commit | 7d4bbcc9fe1819f11c7b757f8c074db488baee4b (patch) | |
tree | f21353c0318bdee7985df80e86a309025ec42708 /sfc/tests/functest/sfc_chain_deletion.py | |
parent | 7f8a775dec72e03d6cae2400b7a49d7a097c8957 (diff) |
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 <pkaralis@intracom-telecom.com>
Diffstat (limited to 'sfc/tests/functest/sfc_chain_deletion.py')
-rw-r--r-- | sfc/tests/functest/sfc_chain_deletion.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sfc/tests/functest/sfc_chain_deletion.py b/sfc/tests/functest/sfc_chain_deletion.py index 700b39a3..623bca77 100644 --- a/sfc/tests/functest/sfc_chain_deletion.py +++ b/sfc/tests/functest/sfc_chain_deletion.py @@ -11,6 +11,8 @@ import os import sys import threading +import logging + import sfc.lib.openstack_utils as os_sfc_utils import sfc.lib.odl_utils as odl_utils import opnfv.utils.ovs_logger as ovs_log @@ -18,11 +20,10 @@ import sfc.lib.topology_shuffler as topo_shuffler import sfc.lib.config as sfc_config import sfc.lib.test_utils as test_utils -from opnfv.utils import opnfv_logger as logger from sfc.lib.results import Results from opnfv.deployment.factory import Factory as DeploymentFactory -logger = logger.Logger(__name__).getLogger() +logger = logging.getLogger(__name__) CLIENT = "client" SERVER = "server" |