diff options
Diffstat (limited to 'resources')
-rw-r--r-- | resources/libraries/python/Memif.py | 4 | ||||
-rw-r--r-- | resources/libraries/python/VhostUser.py | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/resources/libraries/python/Memif.py b/resources/libraries/python/Memif.py index 71c476fb9e..53fbcef404 100644 --- a/resources/libraries/python/Memif.py +++ b/resources/libraries/python/Memif.py @@ -13,9 +13,9 @@ """Memif interface library.""" -import logging from enum import IntEnum +from robot.api import logger from resources.libraries.python.topology import NodeType, Topology from resources.libraries.python.PapiExecutor import PapiExecutor @@ -54,7 +54,7 @@ class Memif(object): L2Util.bin_to_mac(item["memif_details"]["hw_addr"]) data.append(item) - logging.debug("MEMIF data:\n{data}".format(data=data)) + logger.debug("MEMIF data:\n{data}".format(data=data)) return data diff --git a/resources/libraries/python/VhostUser.py b/resources/libraries/python/VhostUser.py index eb004b4ce1..0c7a79e266 100644 --- a/resources/libraries/python/VhostUser.py +++ b/resources/libraries/python/VhostUser.py @@ -13,7 +13,7 @@ """Vhost-user interfaces library.""" -import logging +from robot.api import logger from resources.libraries.python.PapiExecutor import PapiExecutor from resources.libraries.python.topology import NodeType, Topology @@ -45,7 +45,7 @@ class VhostUser(object): item[key]["sock_filename"].rstrip('\x00') data.append(item) - logging.debug("VhostUser data:\n{data}".format(data=data)) + logger.debug("VhostUser data:\n{data}".format(data=data)) return data |