diff options
author | Todd Willey <todd@ansolabs.com> | 2011-03-17 19:41:16 -0400 |
---|---|---|
committer | Todd Willey <todd@ansolabs.com> | 2011-03-17 19:41:16 -0400 |
commit | 79ed4a643df34029391685e13f04e3bfb8afa215 (patch) | |
tree | 3dc28a8c01700952278c04e62cd28711db9a9f02 /nova/rpc.py | |
parent | 5726430038ce01f6dc1efba6d1f51a84cadfecf9 (diff) | |
download | nova-79ed4a643df34029391685e13f04e3bfb8afa215.tar.gz |
Add topic name to cast/call logs.
Diffstat (limited to 'nova/rpc.py')
-rw-r--r-- | nova/rpc.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nova/rpc.py b/nova/rpc.py index fbb90299b8..58715963a0 100644 --- a/nova/rpc.py +++ b/nova/rpc.py @@ -311,7 +311,7 @@ def _pack_context(msg, context): def call(context, topic, msg): """Sends a message on a topic and wait for a response""" - LOG.debug(_("Making asynchronous call...")) + LOG.debug(_("Making asynchronous call on %s ..."), topic) msg_id = uuid.uuid4().hex msg.update({'_msg_id': msg_id}) LOG.debug(_("MSG_ID is %s") % (msg_id)) @@ -352,7 +352,7 @@ def call(context, topic, msg): def cast(context, topic, msg): """Sends a message on a topic without waiting for a response""" - LOG.debug(_("Making asynchronous cast...")) + LOG.debug(_("Making asynchronous cast on %s..."), topic) _pack_context(msg, context) conn = Connection.instance() publisher = TopicPublisher(connection=conn, topic=topic) |