You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by arina <ad...@yahoo.com> on 2008/08/28 09:15:09 UTC

generate several log files for ant dynamically

Hi all! I need to logging ant into different log files dynamically. Actually
I can create log file inside ant task (its simple) and then I need to
redirect logging output into this file. How this redirect could be done?

-- 
View this message in context: http://www.nabble.com/generate-several-log-files-for-ant-dynamically-tp19195365p19195365.html
Sent from the Ant - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


AW: generate several log files for ant dynamically

Posted by Ja...@rzf.fin-nrw.de.
Start Ant with "-logger" option.
You could also use then a Log4J Logger ...
See the manual for details.


Jan 

> -----Ursprüngliche Nachricht-----
> Von: arina [mailto:ada_kostko@yahoo.com] 
> Gesendet: Donnerstag, 28. August 2008 09:15
> An: user@ant.apache.org
> Betreff: generate several log files for ant dynamically
> 
> 
> Hi all! I need to logging ant into different log files 
> dynamically. Actually
> I can create log file inside ant task (its simple) and then I need to
> redirect logging output into this file. How this redirect 
> could be done?
> 
> -- 
> View this message in context: 
> http://www.nabble.com/generate-several-log-files-for-ant-dynam
> ically-tp19195365p19195365.html
> Sent from the Ant - Users mailing list archive at Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org