diff options
| author | Dan Prince <dprince@redhat.com> | 2012-07-09 13:54:26 -0400 |
|---|---|---|
| committer | Dan Prince <dprince@redhat.com> | 2012-07-09 13:56:13 -0400 |
| commit | 1073d507f47704f4746f74b3ed18077a05ef1d0e (patch) | |
| tree | 2c17018833c0729da15906809bae61bec3869746 | |
| parent | a97de51e017c9c07eaa3e4a9ddde4193e9528373 (diff) | |
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
| -rw-r--r-- | nova/compute/manager.py | 2 |
1 files changed, 1 insertions, 1 deletions
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: |
