Rabbit: Fixes debug message format
Add the missing 's' for the message format and just print the number queues instead of print a list full of '<object object at 0xXXXXXXXXXX>'. Change-Id: Idaab4057bc6a41523a1944ae0c8e15e5e885b390
This commit is contained in:
parent
42a2df15dd
commit
cb78f2e43d
|
@ -182,8 +182,8 @@ class ReplyWaiters(object):
|
||||||
queue = self._queues.get(msg_id)
|
queue = self._queues.get(msg_id)
|
||||||
if not queue:
|
if not queue:
|
||||||
LOG.info(_LI('No calling threads waiting for msg_id : %s'), msg_id)
|
LOG.info(_LI('No calling threads waiting for msg_id : %s'), msg_id)
|
||||||
LOG.debug(' queues: %(queues)s, message: %(message)',
|
LOG.debug(' queues: %(queues)s, message: %(message)s',
|
||||||
{'queues': self._queues, 'message': message_data})
|
{'queues': len(self._queues), 'message': message_data})
|
||||||
else:
|
else:
|
||||||
queue.put(message_data)
|
queue.put(message_data)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue