Please advise. How to turn on log4j so the messages from "log.debug" could be seen when running root "ant build.xml". The ant will trigger the testing code inside "Sample" directory. The "log4j.properties (attached)" has been put in the "build" dir as following inside Sample/buiild.xml.
<property name="log4j.config" value="${basedir}/build"/> <!-- =================================================================== --> <!-- Define class path --> <!-- =================================================================== --> <path id="samples.class.path"> <!-- todo the master script should move all required libs here --> <fileset dir="${lib.dir}"> <include name="*.jar"/> </fileset> <fileset dir="${samples.lib.dir}"> <include name="*.jar"/> </fileset> <fileset dir="${dist.lib.dir}"> <include name="*.jar"/> </fileset> <pathelement location="${log4j.config}"/> </path> & <taskdef name="jmxdoclet" classname="xdoclet.modules.jmx.JMXDocletTask" classpathref="samples.class.path" /> But no luck for log message. THX. -John <<log4j.properties>>
log4j.properties
Description: Binary data