ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Meyer, Guillermo" <>
Subject RE: How to add Logging information to ANT
Date Mon, 10 Apr 2006 19:39:47 GMT
Thanks for your response.
The xml logger works, but we want to add more information to the log, as
execution time of each task. Do you know how to do that?

-----Original Message-----
From: Brian McCallion [] 
Sent: Monday, April 10, 2006 11:20 AM
To: 'Ant Users List'
Subject: RE: How to add Logging information to ANT

Hi Guillermo,

I tried the Log4J approach, but I found that the xml logger actually
best for me.  

With this option the build still can write to stdout while it's
but you also get a very detailed log in the form of an xml file.  It
includes time per task and a other very detailed information.  

To create a summary report, ANT includes a log.xsl stylesheet that you
use to transform the detailed xml log into a very nicely formatted html
file.  Then you can insert the html file into mail messages and send it
to people on your notification list.

Hope this helps.  Once I found the xml option I was pretty satisfied
the logging.



Brian McCallion
WebSphere Automation Solutions
Bronze Drum Consulting, Inc.
230 Park Avenue
New York, NY  10169
T (646) 283-0534
F (646) 201-9596

-----Original Message-----
From: Meyer, Guillermo [] 
Sent: Monday, April 10, 2006 12:18 PM
To: Ant Users List
Subject: How to add Logging information to ANT

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" but it didn't work.

Is it possible to configure Log4J in ANT? How can we pass the to be used by ant process?




To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message