ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jerome Lacoste @ BBC" <lacostej...@altern.org>
Subject [PATCH] Log4jListener code & documentation
Date Mon, 10 Mar 2003 14:58:56 GMT
I was expecting the ant Lo4jListener logger to pick up a 
log4j.properties from the ${user.dir} but it apparently doesn't.
I found out I had to put the lo4j.properties in the classpath. [I guess 
it is also possible to specify the configuration file using a system 
property in the ant build file.]
This was not mentionned anywhere in the ant documentation so I propose 
to put a note in the manual. Cf attachment.
Feel free to move this around or put it in a better place.

I also removed an unused and misleading class member in the 
src/main/org/apache/tools/ant/listener/Log4JListener.java file. Cf the 
other patch.

Cheers,

Jerome


Mime
View raw message