diff options
author | Juan Vidal <juan.vidal.allende@ericsson.com> | 2017-02-20 07:52:57 +0000 |
---|---|---|
committer | Juan Vidal <juan.vidal.allende@ericsson.com> | 2017-02-20 08:06:46 +0000 |
commit | 60bc3dddb055cc1ec53196a474743790e6395dce (patch) | |
tree | 79563e4829f61de7cadc5908568b33026052546a /sfc/lib/utils.py | |
parent | 72b6571f2b448e27a1d8c50dd8f27e564004d687 (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.py | 2 |
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") |