[Buildbot-devel] Observing a logfile

Charles Lepple clepple at gmail.com
Tue Sep 30 12:36:12 UTC 2008

On Tue, Sep 30, 2008 at 1:30 AM, Brian Warner
<warner-buildbot at lothar.com> wrote:
>> On our buildslaves are some HTML-log files that are repeatedly rewritten
>> while the build process is running.
>> It would be very nice to show these log files somewhere within the
>> Waterfall page.
> Yeah, just add a 'logfiles' argument when you construct the ShellCommand,
> with a dictionary that maps an arbitrary name to the filename of the log file
> that should be watched. There's an example in the user's manual here:
>  http://buildbot.net/repos/release/docs/buildbot.html#ShellCommand
> With this, there will be a new link (with that arbitrary name) in the step's
> box on the waterfall page, pointing to a copy of the logfile. The contents of
> the file are pulled over in realtime, while the step runs.


I seem to remember that the logfiles argument worked for text files,
but not for HTML.

What determines whether or not the log contents are HTML-escaped?

- Charles Lepple

More information about the devel mailing list