diff options
Diffstat (limited to 'python/qpid/delegates.py')
| -rw-r--r-- | python/qpid/delegates.py | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/python/qpid/delegates.py b/python/qpid/delegates.py index 8de7141962..9df2cd04bd 100644 --- a/python/qpid/delegates.py +++ b/python/qpid/delegates.py @@ -20,6 +20,9 @@ import os, connection010, session from util import notify from datatypes import RangedSet +from logging import getLogger + +log = getLogger("qpid.io.ctl") class Delegate: @@ -37,9 +40,10 @@ class Delegate: ch = ssn.channel if seg.track == self.control: - cntrl = seg.decode(self.spec) - attr = cntrl._type.qname.replace(".", "_") - getattr(self, attr)(ch, cntrl) + ctl = seg.decode(self.spec) + log.debug("RECV %s", ctl) + attr = ctl._type.qname.replace(".", "_") + getattr(self, attr)(ch, ctl) elif ssn is None: ch.session_detached() else: |
