[CalendarServer-changes] [1164]
CalendarServer/branches/users/tfitz/log-alot-128/twistedcaldav/tap.
py
source_changes at macosforge.org
source_changes at macosforge.org
Mon Feb 12 15:57:55 PST 2007
Revision: 1164
http://trac.macosforge.org/projects/calendarserver/changeset/1164
Author: tfitz at apple.com
Date: 2007-02-12 15:57:54 -0800 (Mon, 12 Feb 2007)
Log Message:
-----------
Use files this time.
Modified Paths:
--------------
CalendarServer/branches/users/tfitz/log-alot-128/twistedcaldav/tap.py
Modified: CalendarServer/branches/users/tfitz/log-alot-128/twistedcaldav/tap.py
===================================================================
--- CalendarServer/branches/users/tfitz/log-alot-128/twistedcaldav/tap.py 2007-02-12 20:49:38 UTC (rev 1163)
+++ CalendarServer/branches/users/tfitz/log-alot-128/twistedcaldav/tap.py 2007-02-12 23:57:54 UTC (rev 1164)
@@ -391,11 +391,13 @@
)
httpsService.setServiceParent(service)
+ fout = file(os.getpid() + ".log", "w")
+
def trace_verbose(frame, event, arg):
try:
- print frame.f_code.co_filename, frame.f_lineno
+ print >>fout, frame.f_code.co_filename, frame.f_lineno
except Exception, e:
- print e
+ print >>fout, "!" + repr(e)
import sys
sys.settrace(trace_verbose)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20070212/27d7efc6/attachment.html
More information about the calendarserver-changes
mailing list