Hi Drago, There is no supported way to add Logobserver outside of subclassing.
This is because steps are actually re-instanciated at each build, so the step objects that you manipulate in master.cfg are actually not used. Buildbot only keep their class and the list of parameters used to instanciate them. http://buildbot.readthedocs.io/en/latest/manual/customization.html#adding-logobservers Pierre On Thu, Aug 24, 2017 at 12:37 PM Drago Trusk <[email protected]> wrote: > Setting observer on ShellCommand doesn't seem to work since > during _connectPendingLogObservers of BuildStep logs will be empty. > > This means that for an example: > > s = ShellCommand(...) > s.addLogObserver('stdio', ...) > > > won't actually do anything since observer won't get subscribed to stdio. > > What am I missing here to observe stdio of ShellCommand (that is without > subclassing solution)? > > Thanks, > Drago > _______________________________________________ > users mailing list > [email protected] > https://lists.buildbot.net/mailman/listinfo/users
_______________________________________________ users mailing list [email protected] https://lists.buildbot.net/mailman/listinfo/users
