Added more debug logging to the local manager

This commit is contained in:
Anton Beloglazov 2012-12-18 14:28:29 +11:00
parent 2ece80c59f
commit 52c581b783

View File

@ -229,6 +229,9 @@ def execute(config, state):
host_cpu_mhz,
state['physical_cpu_mhz_total'])
if log.isEnabledFor(logging.DEBUG):
log.debug('The total physical CPU Mhz: %s', str(state['physical_cpu_mhz_total']))
log.debug('VM CPU MHz: %s', str(vm_cpu_mhz))
log.debug('Host CPU MHz: %s', str(host_cpu_mhz))
log.debug('CPU utilization: %s', str(host_cpu_utilization))
if not host_cpu_utilization: