summaryrefslogtreecommitdiffstats
path: root/nova
diff options
context:
space:
mode:
authorDan Prince <dprince@redhat.com>2013-02-20 09:11:04 -0500
committerDan Prince <dprince@redhat.com>2013-02-20 09:11:04 -0500
commit170efefa2d7646b70efd8e43d04227c275e83503 (patch)
tree8e9ef21c08a15b2b3a388c31958cafa13bb72b73 /nova
parent96a4518575ea550d8e997444bfc243b7a822ec11 (diff)
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
Diffstat (limited to 'nova')
-rwxr-xr-xnova/compute/manager.py2
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()