diff options
author | Rafael H. Schloming <rhs@apache.org> | 2010-01-19 21:17:36 +0000 |
---|---|---|
committer | Rafael H. Schloming <rhs@apache.org> | 2010-01-19 21:17:36 +0000 |
commit | 07b7a61c7876b92b6ea0d6355d97cae4437df5c2 (patch) | |
tree | 2f435b2915cac462d66117f0bd29ec13ac959c81 /python/qpid/messaging.py | |
parent | f985d4b7a07cd754bdee62f073d10180e03912e8 (diff) | |
download | qpid-python-07b7a61c7876b92b6ea0d6355d97cae4437df5c2.tar.gz |
added connection and session address to log statements
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@900961 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'python/qpid/messaging.py')
-rw-r--r-- | python/qpid/messaging.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/python/qpid/messaging.py b/python/qpid/messaging.py index ca8483eef0..817f919000 100644 --- a/python/qpid/messaging.py +++ b/python/qpid/messaging.py @@ -423,6 +423,7 @@ class Session: def __init__(self, connection, name, transactional): self.connection = connection self.name = name + self.log_id = "%x" % id(self) self.transactional = transactional @@ -532,7 +533,7 @@ class Session: if msg is not None: msg._receiver.returned += 1 self.unacked.append(msg) - log.debug("RETR [%s] %s", self, msg) + log.debug("RETR[%s]: %s", self.log_id, msg) return msg return None |