diff options
author | George Paraskevopoulos <geopar@intracom-telecom.com> | 2017-03-18 11:46:56 +0200 |
---|---|---|
committer | George Paraskevopoulos <geopar@intracom-telecom.com> | 2017-03-18 12:00:17 +0200 |
commit | cb311aad19c732fa006b50795ab66687e01b95a6 (patch) | |
tree | 3c5e5b2814a8b8f12cc8f72b234cdd99a8a39f20 /sfc/lib/utils.py | |
parent | 268fc4edfd7560bcf5b5e1248df05face402074a (diff) |
Change from functest logger to python logging
Change-Id: Ie7b2a63c301819a79768d1b286ee00693cd1129b
Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
Diffstat (limited to 'sfc/lib/utils.py')
-rw-r--r-- | sfc/lib/utils.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sfc/lib/utils.py b/sfc/lib/utils.py index c303f240..40e1a22b 100644 --- a/sfc/lib/utils.py +++ b/sfc/lib/utils.py @@ -16,13 +16,14 @@ import time import xmltodict import yaml -import functest.utils.functest_logger as ft_logger +import logging as ft_logger +# import functest.utils.functest_logger as ft_logger import functest.utils.functest_utils as ft_utils import functest.utils.openstack_utils as os_utils import functest.utils.openstack_tacker as os_tacker -logger = ft_logger.Logger(__name__).getLogger() +logger = ft_logger.getLogger(__name__) SSH_OPTIONS = '-q -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no' FUNCTEST_RESULTS_DIR = os.path.join("home", "opnfv", "functest", "results", "odl-sfc") |