commit feb36e3a89595cf3c386ea73a34a640df58c5272 Author: David Fifield david@bamsoftware.com Date: Wed Jul 4 05:22:27 2012 -0700
Get rid of the "resp" log messsages. --- facilitator.py | 8 +------- 1 files changed, 1 insertions(+), 7 deletions(-)
diff --git a/facilitator.py b/facilitator.py index 3347624..64de7a6 100755 --- a/facilitator.py +++ b/facilitator.py @@ -242,13 +242,7 @@ class Handler(BaseHTTPServer.BaseHTTPRequestHandler): self.wfile.write(message)
def log_request(self, code): - addr_s = format_addr(self.client_address) - try: - referer = self.headers["Referer"] - except (AttributeError, KeyError): - referer = "-" - log(u"resp %s %s %d" - % (safe_str(addr_s), repr(self.requestline), code)) + pass
def log_message(self, format, *args): msg = format % args
tor-commits@lists.torproject.org