From 1073d507f47704f4746f74b3ed18077a05ef1d0e Mon Sep 17 00:00:00 2001 From: Dan Prince Date: Mon, 9 Jul 2012 13:54:26 -0400 Subject: Fix 'instance %s: snapshotting' log message. Update the Nova compute manage to remove the '%s:' string from the log message. Nova already logs teh instance UUID for this log message because we pass instance_uuid=instance_uuid to the logger so this extra string isn't required. Change-Id: I3fa276347d246e440917ac12d4fc5f88d90d7468 --- nova/compute/manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nova/compute/manager.py b/nova/compute/manager.py index aacfdf7a7..3ccce1b66 100644 --- a/nova/compute/manager.py +++ b/nova/compute/manager.py @@ -1002,7 +1002,7 @@ class ComputeManager(manager.SchedulerDependentManager): power_state=current_power_state, vm_state=vm_states.ACTIVE) - LOG.audit(_('instance %s: snapshotting'), context=context, + LOG.audit(_('instance snapshotting'), context=context, instance_uuid=instance_uuid) if instance_ref['power_state'] != power_state.RUNNING: -- cgit