commit 65c9abd53c2976d74dcd46e765f60d779d6f656a Author: David Fifield david@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