On 13/01/2011, at 9:36 PM, Sean Van Buggenum wrote:

> Hi all,
> 
> Is there any way, roughly equivalent to how it is done in ant (
> <record  ... />    )
> to specify a file to log to?
> 
> Or do I have to write a java / groovy plugin for a
> StandardErrorListener and  StandardOutputListener
> and add them using the LoggingManager with the methods:
> addStandardErrorListener,
> addStandardOutputListener
> ?

For now, you have to add the listeners yourself. There are a bunch of ways you 
might do this: in the build script, or an init script, or an external script, 
or a plugin.

It would make sense to make this some kind of standard plugin.

Could you add a JIRA issue for this problem?


--
Adam Murdoch
Gradle Developer
http://www.gradle.org
CTO, Gradle Inc. - Gradle Training, Support, Consulting
http://www.gradle.biz

Reply via email to