[CalendarServer-changes] [2116]
CalendarServer/branches/users/cdaboo/server2server-2113/
twistedcaldav/logging.py
source_changes at macosforge.org
source_changes at macosforge.org
Mon Feb 4 13:03:39 PST 2008
Revision: 2116
http://trac.macosforge.org/projects/calendarserver/changeset/2116
Author: cdaboo at apple.com
Date: 2008-02-04 13:03:09 -0800 (Mon, 04 Feb 2008)
Log Message:
-----------
Fix request/response logging.
Modified Paths:
--------------
CalendarServer/branches/users/cdaboo/server2server-2113/twistedcaldav/logging.py
Modified: CalendarServer/branches/users/cdaboo/server2server-2113/twistedcaldav/logging.py
===================================================================
--- CalendarServer/branches/users/cdaboo/server2server-2113/twistedcaldav/logging.py 2008-02-03 19:53:18 UTC (rev 2115)
+++ CalendarServer/branches/users/cdaboo/server2server-2113/twistedcaldav/logging.py 2008-02-04 21:03:09 UTC (rev 2116)
@@ -143,6 +143,8 @@
# Do not log authorization details
if name not in ("Authorization",):
iostr.write("%s: %s\n" % (name, value))
+ else:
+ iostr.write("%s: xxxxxxxxx\n")
iostr.write("\n")
data = waitForDeferred(allDataFromStream(request.stream))
@@ -167,8 +169,10 @@
for name, valuelist in response.headers.getAllRawHeaders():
for value in valuelist:
# Do not log authorization details
- if name not in ("Authorization",):
+ if name not in ("WWW-Authenticate",):
iostr.write("%s: %s\n" % (name, value))
+ else:
+ iostr.write("%s: xxxxxxxxx\n")
iostr.write("\n")
data = waitForDeferred(allDataFromStream(response.stream))
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20080204/13bf3b55/attachment.html
More information about the calendarserver-changes
mailing list