[Zodb-checkins] CVS: ZODB3/ZEO/zrpc - smac.py:1.29
Guido van Rossum
guido@python.org
Fri, 27 Sep 2002 15:28:30 -0400
Update of /cvs-repository/ZODB3/ZEO/zrpc
In directory cvs.zope.org:/tmp/cvs-serv1252
Modified Files:
smac.py
Log Message:
Whle we're at it, show the length of the message output as well. Get
rid of the silly "smac" word.
=== ZODB3/ZEO/zrpc/smac.py 1.28 => 1.29 ===
--- ZODB3/ZEO/zrpc/smac.py:1.28 Fri Sep 27 15:14:16 2002
+++ ZODB3/ZEO/zrpc/smac.py Fri Sep 27 15:28:29 2002
@@ -181,7 +181,8 @@
m = message[:40]+' ...'
else:
m = message
- log('smac message_output %s' % `m`, level=zLOG.TRACE)
+ log('message_output %d bytes: %s' % (len(message), `m`),
+ level=zLOG.TRACE)
if self.__closed:
raise Disconnected, (