![apache ant log4j apache ant log4j](https://profile-images.xing.com/images/0a30bf22903669d95390325acd512d79-4/christian-meiser.1024x1024.jpg)
If the log4j.properties is in your project root folder you can add this with -lib option: ant -listener .listener.Log4jListener -lib.
![apache ant log4j apache ant log4j](https://i.stack.imgur.com/8kZQo.png)
Both should be placed somewhere in your Ant classpath. 4.0.0 ant-apache-log4j debian jar ant-parent debian 1.2.13 s/ant// * * s/.*/debian/ * * 1.9.6 1.9.6 ant-optional Apache Ant + Log4J ant debian compile log4j log4j 1.2. To use Log4j you will need the Log4j JAR file and a log4j.properties configuration file.