diff options
| author | Dan Prince <dprince@redhat.com> | 2013-02-20 09:11:04 -0500 |
|---|---|---|
| committer | Dan Prince <dprince@redhat.com> | 2013-02-20 09:11:04 -0500 |
| commit | 170efefa2d7646b70efd8e43d04227c275e83503 (patch) | |
| tree | 8e9ef21c08a15b2b3a388c31958cafa13bb72b73 | |
| parent | 96a4518575ea550d8e997444bfc243b7a822ec11 (diff) | |
| download | nova-170efefa2d7646b70efd8e43d04227c275e83503.tar.gz nova-170efefa2d7646b70efd8e43d04227c275e83503.tar.xz nova-170efefa2d7646b70efd8e43d04227c275e83503.zip | |
Log lifecycle events to log INFO (not ERROR)
By default we would prefer not to see lifecycle events getting
logged to Nova's compute.log file as errors.
Fixes LP Bug #1130686.
Change-Id: I10899e0c89ab922c48370d107ab496902ccc8c77
| -rwxr-xr-x | 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 072f5bce7..ed95ff8df 100755 --- a/nova/compute/manager.py +++ b/nova/compute/manager.py @@ -501,7 +501,7 @@ class ComputeManager(manager.SchedulerDependentManager): 'firewall rules'), instance=instance) def handle_lifecycle_event(self, event): - LOG.error(_("Lifecycle event %(state)d on VM %(uuid)s") % + LOG.info(_("Lifecycle event %(state)d on VM %(uuid)s") % {'state': event.get_transition(), 'uuid': event.get_instance_uuid()}) context = nova.context.get_admin_context() |
