aboutsummaryrefslogtreecommitdiffstats
path: root/sfc/lib/topology_shuffler.py
diff options
context:
space:
mode:
authorPanagiotis Karalis <pkaralis@intracom-telecom.com>2018-05-25 11:53:57 +0300
committerPanagiotis Karalis <pkaralis@intracom-telecom.com>2018-06-01 14:25:07 +0300
commit1ec06237327293d18c494a915faed756188447b0 (patch)
treebc0a3ff2a4461fb41639fb637a9b1affb227d2eb /sfc/lib/topology_shuffler.py
parentf21e55e683f446596565caba8cf86fa15e048fd0 (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/lib/topology_shuffler.py')
-rw-r--r--sfc/lib/topology_shuffler.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/sfc/lib/topology_shuffler.py b/sfc/lib/topology_shuffler.py
index 7721972d..f678137a 100644
--- a/sfc/lib/topology_shuffler.py
+++ b/sfc/lib/topology_shuffler.py
@@ -1,9 +1,8 @@
import datetime
import random
+import logging
-from opnfv.utils import opnfv_logger as logger
-
-logger = logger.Logger(__name__).getLogger()
+logger = logging.getLogger(__name__)
# The possible topologies we are testing
TOPOLOGIES = [