[CalendarServer-changes] [4808] CalendarServer/trunk/lib-patches/Twisted/twisted.runner.procmon. patch

source_changes at macosforge.org source_changes at macosforge.org
Wed Nov 25 12:36:38 PST 2009


Revision: 4808
          http://trac.macosforge.org/projects/calendarserver/changeset/4808
Author:   sagen at apple.com
Date:     2009-11-25 12:36:32 -0800 (Wed, 25 Nov 2009)
Log Message:
-----------
Prevent a long log line from disconnecting a slave process from the master

Added Paths:
-----------
    CalendarServer/trunk/lib-patches/Twisted/twisted.runner.procmon.patch

Added: CalendarServer/trunk/lib-patches/Twisted/twisted.runner.procmon.patch
===================================================================
--- CalendarServer/trunk/lib-patches/Twisted/twisted.runner.procmon.patch	                        (rev 0)
+++ CalendarServer/trunk/lib-patches/Twisted/twisted.runner.procmon.patch	2009-11-25 20:36:32 UTC (rev 4808)
@@ -0,0 +1,15 @@
+Index: twisted/runner/procmon.py
+===================================================================
+--- twisted/runner/procmon.py	(revision 26969)
++++ twisted/runner/procmon.py	(working copy)
+@@ -68,6 +68,10 @@
+     def lineReceived(self, line):
+         log.msg('[%s] %s' % (self.tag, line))
+ 
++    def lineLengthExceeded(self, line):
++        """ Don't disconnect just because the process wrote too big a line """
++        log.msg('Line length exceeded')
++
+ class LoggingProtocol(protocol.ProcessProtocol):
+ 
+     service = None
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20091125/df96251c/attachment.html>


More information about the calendarserver-changes mailing list