[Buildbot-commits] buildbot/docs buildbot.texinfo,1.135,1.136
Brian Warner
warner at users.sourceforge.net
Sun Mar 23 00:36:58 UTC 2008
Update of /cvsroot/buildbot/buildbot/docs
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv7272/docs
Modified Files:
buildbot.texinfo
Log Message:
[project @ allow LogLineObserver to handle longer lines. Closes #201.]
Original author: warner at lothar.com
Date: 2008-03-23 00:35:51+00:00
Index: buildbot.texinfo
===================================================================
RCS file: /cvsroot/buildbot/buildbot/docs/buildbot.texinfo,v
retrieving revision 1.135
retrieving revision 1.136
diff -u -d -r1.135 -r1.136
--- buildbot.texinfo 21 Mar 2008 01:32:00 -0000 1.135
+++ buildbot.texinfo 23 Mar 2008 00:36:56 -0000 1.136
@@ -5021,7 +5021,11 @@
course you can subclass them to add further customization. The
@code{LogLineObserver} class handles the grunt work of buffering and
scanning for end-of-line delimiters, allowing your parser to operate
-on complete stdout/stderr lines.
+on complete stdout/stderr lines. (Lines longer than a set maximum
+length are dropped; the maximum defaults to 16384 bytes, but you can
+change it by calling @code{setMaxLineLength()} on your
+ at code{LogLineObserver} instance. Use @code{sys.maxint} for effective
+infinity.)
For example, let's take a look at the @code{TrialTestCaseCounter},
which is used by the Trial step to count test cases as they are run.
More information about the Commits
mailing list