summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2012-04-13 15:25:52 +0000
committerGerrit Code Review <review@openstack.org>2012-04-13 15:25:52 +0000
commit042a4d0d96b33ab2c86ef4e5e46560fef16d011f (patch)
tree42aa145dfcf34f154cc8ee262aff7e05cefa491f
parent3e5e3accdaf3a5708fa581715c038939e6139308 (diff)
parentdbff603c4a5cfc66bb7e0075b0ee3361c0211d1b (diff)
downloadnova-042a4d0d96b33ab2c86ef4e5e46560fef16d011f.tar.gz
nova-042a4d0d96b33ab2c86ef4e5e46560fef16d011f.tar.xz
nova-042a4d0d96b33ab2c86ef4e5e46560fef16d011f.zip
Merge "Log more information when sending notifications"
-rw-r--r--nova/rpc/amqp.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/nova/rpc/amqp.py b/nova/rpc/amqp.py
index 95fe90412..cfa4ad1c1 100644
--- a/nova/rpc/amqp.py
+++ b/nova/rpc/amqp.py
@@ -373,7 +373,8 @@ def fanout_cast_to_server(context, server_params, topic, msg,
def notify(context, topic, msg, connection_pool):
"""Sends a notification event on a topic."""
- LOG.debug(_('Sending notification on %s...'), topic)
+ event_type = msg.get('event_type')
+ LOG.debug(_('Sending %(event_type)s on %(topic)s'), locals())
pack_context(msg, context)
with ConnectionContext(connection_pool) as conn:
conn.notify_send(topic, msg)