summaryrefslogtreecommitdiff
path: root/virtinst/uri.py
diff options
context:
space:
mode:
Diffstat (limited to 'virtinst/uri.py')
-rw-r--r--virtinst/uri.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/virtinst/uri.py b/virtinst/uri.py
index bb0ef037..cc1fb96b 100644
--- a/virtinst/uri.py
+++ b/virtinst/uri.py
@@ -5,10 +5,11 @@
# See the COPYING file in the top-level directory.
#
-import logging
import re
import urllib.parse
+from .logger import log
+
def sanitize_xml_for_test_define(xml):
import difflib
@@ -23,7 +24,7 @@ def sanitize_xml_for_test_define(xml):
diff = "\n".join(difflib.unified_diff(orig.split("\n"),
xml.split("\n")))
if diff:
- logging.debug("virtinst test sanitizing diff\n:%s", diff)
+ log.debug("virtinst test sanitizing diff\n:%s", diff)
return xml