[or-cvs] r13244: Log mail body/header (only at log level "debug") (bridgedb/trunk/lib/bridgedb)

sjm217 at seul.org sjm217 at seul.org
Wed Jan 23 14:22:41 UTC 2008


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:



More information about the tor-commits mailing list