summaryrefslogtreecommitdiff
path: root/virtManager/network.py
diff options
context:
space:
mode:
Diffstat (limited to 'virtManager/network.py')
-rw-r--r--virtManager/network.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/virtManager/network.py b/virtManager/network.py
index f8d041a2..a311411b 100644
--- a/virtManager/network.py
+++ b/virtManager/network.py
@@ -5,8 +5,8 @@
# See the COPYING file in the top-level directory.
import ipaddress
-import logging
+from virtinst import log
from virtinst import Network
from .libvirtobject import vmmLibvirtObject
@@ -98,7 +98,7 @@ class vmmNetwork(vmmLibvirtObject):
try:
self._leases = self._backend.DHCPLeases()
except Exception as e:
- logging.debug("Error getting %s DHCP leases: %s", self, str(e))
+ log.debug("Error getting %s DHCP leases: %s", self, str(e))
self._leases = []
def get_dhcp_leases(self):