[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] r13244: Log mail body/header (only at log level "debug") (bridgedb/trunk/lib/bridgedb)
Author: sjm217
Date: 2008-01-23 09:22:40 -0500 (Wed, 23 Jan 2008)
New Revision: 13244
Modified:
bridgedb/trunk/lib/bridgedb/Server.py
Log:
Log mail body/header (only at log level "debug")
Modified: bridgedb/trunk/lib/bridgedb/Server.py
===================================================================
--- bridgedb/trunk/lib/bridgedb/Server.py 2008-01-23 09:05:40 UTC (rev 13243)
+++ bridgedb/trunk/lib/bridgedb/Server.py 2008-01-23 14:22:40 UTC (rev 13244)
@@ -280,6 +280,7 @@
def lineReceived(self, line):
"""Called when we get another line of an incoming message."""
self.nBytes += len(line)
+ logging.debug("> %s", line.rstrip("\r\n"))
if self.nBytes > self.ctx.maximumSize:
self.ignoring = True
else: