[CalendarServer-changes] [1163] CalendarServer/branches/users/tfitz/log-alot-128/twistedcaldav/tap. py

source_changes at macosforge.org source_changes at macosforge.org
Mon Feb 12 12:49:38 PST 2007


Revision: 1163
          http://trac.macosforge.org/projects/calendarserver/changeset/1163
Author:   tfitz at apple.com
Date:     2007-02-12 12:49:38 -0800 (Mon, 12 Feb 2007)

Log Message:
-----------
Added verbose tracing.

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 19:45:45 UTC (rev 1162)
+++ CalendarServer/branches/users/tfitz/log-alot-128/twistedcaldav/tap.py	2007-02-12 20:49:38 UTC (rev 1163)
@@ -390,7 +390,16 @@
                     interface=bindAddress
                     )
                 httpsService.setServiceParent(service)
-            
+
+        def trace_verbose(frame, event, arg):
+            try:
+                print frame.f_code.co_filename, frame.f_lineno
+            except Exception, e:
+                print e
+
+        import sys
+        sys.settrace(trace_verbose)
+
         return service
 
     makeService_slave = makeService_singleprocess

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20070212/ac8bf2f3/attachment.html


More information about the calendarserver-changes mailing list