Thats my problem,
because nothing is being logged on the Agent.

how could this be?

On Mon, Jul 24, 2017 at 3:46 PM, Ketan Padegaonkar <
[email protected]> wrote:

> 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 a topic in the
> Google Groups "go-cd" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/go-cd/xzbNcFTy6Go/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Paul Pogonoski
Principal
Email [email protected] <[email protected]>
Telephone +44 7488 747577 <+44+7488+747577>
[image: ThoughtWorks]
<http://www.thoughtworks.com/?utm_campaign=paul-pogonoski-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>

-- 
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.

Reply via email to