Thanks Jesse, this sounds really promising, especially as your fix has also been included in 1509.4 LTS.
However, it seems that the loggers you talk about end up in stdout (https://wiki.jenkins-ci.org/display/JENKINS/Logging). I was actually looking for something that transports the "listener.getLogger().println()" to my jobs console. Any ideas? So far I did write the messages to a temp file and copied it with an Input Stream from the slave. However, when running on master, this shows empty results. Thanks K<o> On Thursday, December 19, 2013 9:37:28 AM UTC-5, Jesse Glick wrote: > > On Wed, Dec 18, 2013 at 5:48 PM, Kaj Kandler > <[email protected]<javascript:>> > wrote: > > I'm trying to execute some steps in a builder with some Callable class. > > > > Is there any way to transport log information from this job? Can I > access a > > logger somehow? > > Just use Logger.getLogger(ThisClass.class.getName()).log(…) as usual. > As of Jenkins 1.519 (JENKINS-18274) these messages should be displayed > in custom log recorders just as if they were logged on the master. > -- You received this message because you are subscribed to the Google Groups "Jenkins Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
