Ok, we solve it. We define a Log4j.properties and add a
-Dlog4jconfiguration indicating the file and it works. 

Thanks you all for your assistance.

 

Regards.

Guillermo.

 

________________________________

From: Jeffrey E Care [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 10, 2006 5:14 PM
To: Ant Users List
Subject: Re: How to add Logging information to ANT

 


You can easily write your own logger class to output all of the
information that you want; check the manual for instructions.

________________________________________________________________________
____________________ 

Jeffrey E. (Jeff) Care 

[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>  

IBM WebSphere Application Server Development 

WAS Pyxis Lead Release Engineer 

WebSphere Mosiac

WebSphere Brandmark




"Meyer, Guillermo" <[EMAIL PROTECTED]> wrote on 04/10/2006
12:17:48 PM:

> We are using ANT version 1.6.5.
> 
> We want to add more information in the ANT output. Not only which tag
is
> being executed but also thread id, current time, and other stuff that
> ANT tags are doing (through some logger framework like Log4J).
> 
> We tried to add "ant -listener
> org.apache.tools.ant.listener.Log4jListener" but it didn't work.
> 
> Is it possible to configure Log4J in ANT? How can we pass the
> Log4J.properties to be used by ant process?
> 
>  
> 
> Regards.
> 
> Guillermo.
> 

Reply via email to