Commit ba7fae18 authored by Guido van Rossum's avatar Guido van Rossum

Whle we're at it, show the length of the message output as well. Get

rid of the silly "smac" word.
parent b70bef7f
......@@ -13,7 +13,7 @@
##############################################################################
"""Sized message async connections
$Id: smac.py,v 1.28 2002/09/27 19:14:16 gvanrossum Exp $
$Id: smac.py,v 1.29 2002/09/27 19:28:29 gvanrossum Exp $
"""
import asyncore, struct
......@@ -181,7 +181,8 @@ class SizedMessageAsyncConnection(asyncore.dispatcher):
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, (
......
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