[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] r19323: {bridgedb} Log request parameters (bridgedb/trunk/lib/bridgedb)



Author: nickm
Date: 2009-04-14 15:52:12 -0400 (Tue, 14 Apr 2009)
New Revision: 19323

Modified:
   bridgedb/trunk/lib/bridgedb/Server.py
Log:
Log request parameters

Modified: bridgedb/trunk/lib/bridgedb/Server.py
===================================================================
--- bridgedb/trunk/lib/bridgedb/Server.py	2009-04-14 19:33:07 UTC (rev 19322)
+++ bridgedb/trunk/lib/bridgedb/Server.py	2009-04-14 19:52:12 UTC (rev 19323)
@@ -112,7 +112,8 @@
         else:
             answer = "No bridges available."
 
-        logging.info("Replying to web request from %s", ip)
+        logging.info("Replying to web request from %s.  Parameters were %r", ip,
+                     request.args)
         if format == 'plain':
             request.setHeader("Content-Type: text/plain")
             return answer