You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by "Jerome Lacoste @ BBC" <la...@altern.org> on 2003/03/10 15:58:56 UTC
[PATCH] Log4jListener code & documentation
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