The plugin logs stuff where it runs. So a plugin that logs on the agent will write the logs on the agent log dir
On Fri, Jul 21, 2017, 9:03 PM <[email protected]> wrote: > Sorry, I meant a log file on the server. > However, that reminds me, even using the JobConsoleLogger.printLine() > method returns nothing > > > On Friday, July 21, 2017 at 3:44:35 PM UTC+1, Ketan Padegaonkar wrote: > >> When you say "code output" do you mean showing something that shows up on >> the "console" tab of a job? >> >> On Fri, Jul 21, 2017 at 8:10 PM <[email protected]> wrote: >> > Hi, >>> as part of debugging my task Plugin I've created LOG.info statements at >>> critical points in my executor class. >>> >>> Now, while all logging set up in the plugin class that runs on the >>> Server work, I cannot get the logging to work thats runs on an Agent. >>> >>> I'm testing on OS X using GoCD 17.7.0. >>> >>> I've based my plugin from the curl plugin at >>> https://github.com/gocd/sample-plugins/tree/master/curl-plugin >>> >>> I'd be very surprised if you cannot use the >>> com.thoughtworks.go.plugin.api.logging.Logger >>> to log on the Agent, so can someone help me in finding out what I'm doing >>> wrong, please? >>> >>> Cheers, >>> PP >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "go-cd" 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/d/optout. >>> >> -- > You received this message because you are subscribed to the Google Groups > "go-cd" 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/d/optout. > -- You received this message because you are subscribed to the Google Groups "go-cd" 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/d/optout.
