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