mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-01-11 05:17:59 +03:00
Drop use of logging.info
Just use logging.debug in these random places
This commit is contained in:
parent
034d112181
commit
ecb60c3062
@ -981,7 +981,7 @@ class vmmDomain(vmmLibvirtObject):
|
||||
self._backend.setVcpus(vcpus)
|
||||
|
||||
if memory != _SENTINEL:
|
||||
logging.info("Hotplugging curmem=%s maxmem=%s for VM '%s'",
|
||||
logging.debug("Hotplugging curmem=%s maxmem=%s for VM '%s'",
|
||||
memory, maxmem, self.get_name())
|
||||
|
||||
actual_cur = self.get_memory()
|
||||
|
@ -307,7 +307,7 @@ class vmmNetworkList(vmmGObjectUI):
|
||||
# Try to start the network
|
||||
try:
|
||||
netobj.start()
|
||||
logging.info("Started network '%s'", devname)
|
||||
logging.debug("Started network '%s'", devname)
|
||||
except Exception as e:
|
||||
return self.err.show_err(_("Could not start virtual network "
|
||||
"'%s': %s") % (devname, str(e)))
|
||||
|
@ -93,10 +93,10 @@ class Guest(XMLBuilder):
|
||||
try:
|
||||
logging.debug("Explicitly replacing guest '%s'", name)
|
||||
if vm.ID() != -1:
|
||||
logging.info("Destroying guest '%s'", name)
|
||||
logging.debug("Destroying guest '%s'", name)
|
||||
vm.destroy()
|
||||
|
||||
logging.info("Undefining guest '%s'", name)
|
||||
logging.debug("Undefining guest '%s'", name)
|
||||
vm.undefine()
|
||||
except libvirt.libvirtError as e:
|
||||
raise RuntimeError(_("Could not remove old vm '%s': %s") %
|
||||
|
Loading…
Reference in New Issue
Block a user