Drop use of logging.info

Just use logging.debug in these random places
This commit is contained in:
Cole Robinson 2019-06-11 14:46:32 -04:00
parent 034d112181
commit ecb60c3062
3 changed files with 4 additions and 4 deletions

View File

@ -981,7 +981,7 @@ class vmmDomain(vmmLibvirtObject):
self._backend.setVcpus(vcpus) self._backend.setVcpus(vcpus)
if memory != _SENTINEL: 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()) memory, maxmem, self.get_name())
actual_cur = self.get_memory() actual_cur = self.get_memory()

View File

@ -307,7 +307,7 @@ class vmmNetworkList(vmmGObjectUI):
# Try to start the network # Try to start the network
try: try:
netobj.start() netobj.start()
logging.info("Started network '%s'", devname) logging.debug("Started network '%s'", devname)
except Exception as e: except Exception as e:
return self.err.show_err(_("Could not start virtual network " return self.err.show_err(_("Could not start virtual network "
"'%s': %s") % (devname, str(e))) "'%s': %s") % (devname, str(e)))

View File

@ -93,10 +93,10 @@ class Guest(XMLBuilder):
try: try:
logging.debug("Explicitly replacing guest '%s'", name) logging.debug("Explicitly replacing guest '%s'", name)
if vm.ID() != -1: if vm.ID() != -1:
logging.info("Destroying guest '%s'", name) logging.debug("Destroying guest '%s'", name)
vm.destroy() vm.destroy()
logging.info("Undefining guest '%s'", name) logging.debug("Undefining guest '%s'", name)
vm.undefine() vm.undefine()
except libvirt.libvirtError as e: except libvirt.libvirtError as e:
raise RuntimeError(_("Could not remove old vm '%s': %s") % raise RuntimeError(_("Could not remove old vm '%s': %s") %