[CalendarServer-changes] [11381] CalendarServer/trunk/calendarserver/tap/caldav.py
source_changes at macosforge.org
source_changes at macosforge.org
Wed Jun 19 12:18:58 PDT 2013
Revision: 11381
http://trac.calendarserver.org//changeset/11381
Author: wsanchez at apple.com
Date: 2013-06-19 12:18:58 -0700 (Wed, 19 Jun 2013)
Log Message:
-----------
Call replaceTwistedLoggers()
Modified Paths:
--------------
CalendarServer/trunk/calendarserver/tap/caldav.py
Modified: CalendarServer/trunk/calendarserver/tap/caldav.py
===================================================================
--- CalendarServer/trunk/calendarserver/tap/caldav.py 2013-06-19 19:18:47 UTC (rev 11380)
+++ CalendarServer/trunk/calendarserver/tap/caldav.py 2013-06-19 19:18:58 UTC (rev 11381)
@@ -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/20130619/318488ab/attachment.html>
More information about the calendarserver-changes
mailing list