summaryrefslogtreecommitdiffstats
path: root/sfc/lib/odl_utils.py
diff options
context:
space:
mode:
authorManuel Buil <mbuil@suse.com>2018-05-03 16:25:25 +0200
committerManuel Buil <mbuil@suse.com>2018-05-08 08:02:43 +0000
commit059613f1759e2f86d4d3ecda1680105b720d2197 (patch)
tree07e3c68166a2dc6aa8d5446a9d06668f0071414f /sfc/lib/odl_utils.py
parent3f77ff56f24660500cec13f0953d462ea2cd4948 (diff)
Bug fix: Use opnfv.logger object
JIRA: SFC-125 If we don't use the opnfv.logger from functest, logs are not printed when exeucting tests through the functest framework Change-Id: I6d58ff3977fd94221720eea978e0efde07a576a2 Signed-off-by: Manuel Buil <mbuil@suse.com>
Diffstat (limited to 'sfc/lib/odl_utils.py')
-rw-r--r--sfc/lib/odl_utils.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/sfc/lib/odl_utils.py b/sfc/lib/odl_utils.py
index e1980423..ac967847 100644
--- a/sfc/lib/odl_utils.py
+++ b/sfc/lib/odl_utils.py
@@ -4,12 +4,12 @@ import requests
import time
import json
import re
-import logging
import functools
import sfc.lib.openstack_utils as os_sfc_utils
+from opnfv.utils import opnfv_logger as logger
-logger = logging.getLogger(__name__)
+logger = logger.Logger(__name__).getLogger()
ODL_MODULE_EXCEPTIONS = {