Commit 21a4fba6 authored by Jeremy Hylton's avatar Jeremy Hylton

Lower to log levels, one at Toby's request.

Closes SF bug #659068.
parent 03420b53
...@@ -245,7 +245,7 @@ class Connection(smac.SizedMessageAsyncConnection): ...@@ -245,7 +245,7 @@ class Connection(smac.SizedMessageAsyncConnection):
raise ZRPCError(msg) raise ZRPCError(msg)
if __debug__: if __debug__:
self.log("calling %s%s" % (name, short_repr(args)), self.log("calling %s%s" % (name, short_repr(args)),
level=zLOG.BLATHER) level=zLOG.DEBUG)
meth = getattr(self.obj, name) meth = getattr(self.obj, name)
try: try:
...@@ -428,7 +428,7 @@ class Connection(smac.SizedMessageAsyncConnection): ...@@ -428,7 +428,7 @@ class Connection(smac.SizedMessageAsyncConnection):
del self.replies[msgid] del self.replies[msgid]
if __debug__: if __debug__:
self.log("wait(%d): reply=%s" % self.log("wait(%d): reply=%s" %
(msgid, short_repr(reply)), level=zLOG.DEBUG) (msgid, short_repr(reply)), level=zLOG.TRACE)
return reply return reply
if self.is_async(): if self.is_async():
self.replies_cond.wait(10.0) self.replies_cond.wait(10.0)
......
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