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.