Commit 8d7c5766 authored by Jeremy Hylton's avatar Jeremy Hylton

Move "send msg" and "recv msg" log calls to debug level.

parent e94f7e66
...@@ -197,7 +197,7 @@ class Connection(smac.SizedMessageAsyncConnection): ...@@ -197,7 +197,7 @@ class Connection(smac.SizedMessageAsyncConnection):
if __debug__: if __debug__:
log("recv msg: %s, %s, %s, %s" % (msgid, flags, name, log("recv msg: %s, %s, %s, %s" % (msgid, flags, name,
short_repr(args)), short_repr(args)),
level=zLOG.DEBUG) level=zLOG.TRACE)
if name == REPLY: if name == REPLY:
self.handle_reply(msgid, flags, args) self.handle_reply(msgid, flags, args)
else: else:
...@@ -299,7 +299,8 @@ class Connection(smac.SizedMessageAsyncConnection): ...@@ -299,7 +299,8 @@ class Connection(smac.SizedMessageAsyncConnection):
finally: finally:
self.__msgid_lock.release() self.__msgid_lock.release()
if __debug__: if __debug__:
log("send msg: %d, %d, %s, ..." % (msgid, flags, method)) log("send msg: %d, %d, %s, ..." % (msgid, flags, method),
zLOG.TRACE)
buf = self.marshal.encode(msgid, flags, method, args) buf = self.marshal.encode(msgid, flags, method, args)
self.message_output(buf) self.message_output(buf)
return msgid return msgid
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment