[CalendarServer-changes] [11406] CalendarServer/branches/users/glyph/launchd-wrapper/calendarserver/ tap/caldav.py

source_changes at macosforge.org source_changes at macosforge.org
Wed Jun 26 00:55:19 PDT 2013


Revision: 11406
          http://trac.calendarserver.org//changeset/11406
Author:   glyph at apple.com
Date:     2013-06-26 00:55:19 -0700 (Wed, 26 Jun 2013)
Log Message:
-----------
Call replaceTwistedLoggers()

Modified Paths:
--------------
    CalendarServer/branches/users/glyph/launchd-wrapper/calendarserver/tap/caldav.py

Modified: CalendarServer/branches/users/glyph/launchd-wrapper/calendarserver/tap/caldav.py
===================================================================
--- CalendarServer/branches/users/glyph/launchd-wrapper/calendarserver/tap/caldav.py	2013-06-26 07:55:10 UTC (rev 11405)
+++ CalendarServer/branches/users/glyph/launchd-wrapper/calendarserver/tap/caldav.py	2013-06-26 07:55:19 UTC (rev 11406)
@@ -53,7 +53,7 @@
 from twisted.protocols.amp import AMP
 
 from twext.web2.server import Site
-from twext.python.log import Logger, LogLevel
+from twext.python.log import Logger, LogLevel, replaceTwistedLoggers
 from twext.python.filepath import CachingFilePath
 from twext.internet.ssl import ChainingOpenSSLContextFactory
 from twext.internet.tcp import MaxAcceptTCPServer, MaxAcceptSSLServer
@@ -715,6 +715,8 @@
         """
         Create the top-level service.
         """
+        replaceTwistedLoggers()
+
         self.log.info("%s %s starting %s process..." % (self.description, version, config.ProcessType))
 
         try:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20130626/3cea2f15/attachment.html>


More information about the calendarserver-changes mailing list