aboutsummaryrefslogtreecommitdiffstats
path: root/sfc/lib/utils.py
diff options
context:
space:
mode:
authorJuan Vidal <juan.vidal.allende@ericsson.com>2017-02-20 07:52:57 +0000
committerJuan Vidal <juan.vidal.allende@ericsson.com>2017-02-20 08:06:46 +0000
commit60bc3dddb055cc1ec53196a474743790e6395dce (patch)
tree79563e4829f61de7cadc5908568b33026052546a /sfc/lib/utils.py
parent72b6571f2b448e27a1d8c50dd8f27e564004d687 (diff)
Use __name__ on Logger instantiation instead of custom strings
Change-Id: Ic68256410b29cf3ba39a10a92d243979ea475220 Signed-off-by: Juan Vidal <juan.vidal.allende@ericsson.com>
Diffstat (limited to 'sfc/lib/utils.py')
-rw-r--r--sfc/lib/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfc/lib/utils.py b/sfc/lib/utils.py
index 2b01113c..a7edef68 100644
--- a/sfc/lib/utils.py
+++ b/sfc/lib/utils.py
@@ -20,7 +20,7 @@ import functest.utils.openstack_utils as os_utils
import functest.utils.openstack_tacker as os_tacker
-logger = ft_logger.Logger("sfc_test_utils").getLogger()
+logger = ft_logger.Logger(__name__).getLogger()
SSH_OPTIONS = '-q -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no'
FUNCTEST_RESULTS_DIR = os.path.join("home", "opnfv",
"functest", "results", "odl-sfc")