From 820b470e938dd4b490cbda9c9bc1b2d22785629d Mon Sep 17 00:00:00 2001 From: Johannes Erdfelt Date: Fri, 20 Apr 2012 15:44:52 +0000 Subject: Remove unnecessary power state translation messages The messages don't provide any extra value in debugging since compile_info is only called in a few cases. Also, they are anonymous and don't include information about what instance the power state is for. Change-Id: Ib4dae30a2e9c14d8b3bb9c47fe54742897dd3492 --- nova/virt/xenapi/vm_utils.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/nova/virt/xenapi/vm_utils.py b/nova/virt/xenapi/vm_utils.py index d8402c779..b88f65178 100644 --- a/nova/virt/xenapi/vm_utils.py +++ b/nova/virt/xenapi/vm_utils.py @@ -1057,10 +1057,6 @@ class VMHelper(xenapi.HelperBase): @classmethod def compile_info(cls, record): """Fill record with VM status information""" - LOG.info(_("(VM_UTILS) xenserver vm state -> |%s|"), - record['power_state']) - LOG.info(_("(VM_UTILS) xenapi power_state -> |%s|"), - XENAPI_POWER_STATE[record['power_state']]) return {'state': XENAPI_POWER_STATE[record['power_state']], 'max_mem': long(record['memory_static_max']) >> 10, 'mem': long(record['memory_dynamic_max']) >> 10, -- cgit