X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=resources%2Flibraries%2Fpython%2FMemif.py;fp=resources%2Flibraries%2Fpython%2FMemif.py;h=53fbcef40496d0a67a794b75b2ca57e4740bd32a;hp=71c476fb9eed2dd6168e964645e5dc3cb0d14617;hb=12a51f968499f7710a5f54c7cc3bc2afa5c7bc3b;hpb=92b19ebfda6e26e97a038c78d73bf635e34bbc57 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