[tor-commits] [flashproxy/master] Don't log referrers.

dcf at torproject.org dcf at torproject.org
Wed Jul 4 12:28:40 UTC 2012


commit 65c9abd53c2976d74dcd46e765f60d779d6f656a
Author: David Fifield <david at bamsoftware.com>
Date:   Wed Jul 4 05:09:32 2012 -0700

    Don't log referrers.
    
    This is useless anyway because it is either blank or else the URL of the
    embed.html.
---
 facilitator.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/facilitator.py b/facilitator.py
index 582dbd8..ed06301 100755
--- a/facilitator.py
+++ b/facilitator.py
@@ -252,8 +252,8 @@ class Handler(BaseHTTPServer.BaseHTTPRequestHandler):
             referer = self.headers["Referer"]
         except (AttributeError, KeyError):
             referer = "-"
-        log(u"resp %s %s %d %s"
-            % (safe_str(addr_s), repr(self.requestline), code, repr(referer)))
+        log(u"resp %s %s %d"
+            % (safe_str(addr_s), repr(self.requestline), code))
 
     def log_message(self, format, *args):
         msg = format % args





More information about the tor-commits mailing list