Added a debug log message

This commit is contained in:
Anton Beloglazov 2012-10-24 15:07:12 +11:00
parent 511f8f1f41
commit 47846eb534

View File

@ -324,6 +324,9 @@ def execute_underload(config, state, host):
del hosts_cpu_total[host]
del hosts_ram_total[host]
if log.isEnabledFor(logging.DEBUG):
log.debug('Host CPU usage: %s', str(hosts_cpu_usage))
# Exclude the underloaded host
del hosts_cpu_usage[underloaded_host]
del hosts_cpu_total[underloaded_host]