[users at bb.net] logging stdout / stderr to files in addition to web page

davidl 1234 davidlrf at yahoo.com
Tue Oct 23 20:13:44 UTC 2018


Hi
I'm trying to write the output (stdout and stderr) from ShellCommand steps to a file, as well as having the output go to the web page.
I tried subclassing LogObserver, overriding the "received" methods, and adding the LogObserver to the step.  None of the "received" methods are called.  The step generates output that appears on the web page.
Is there an example of how to get the stdout and stderr to go to a file?  Piping it via the command sends it to a file, but then it doesn't show up in the web page.
Thanks.
David

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.buildbot.net/pipermail/users/attachments/20181023/9a8ba8bd/attachment.html>


More information about the users mailing list