Am getting this error when trying to use log4j logger. 
And shouldnt ant come with a log4j.properties, if not, then an indication of
where in the class-path the properties file should be located.

Thanks, Suresh

<snip>
C:\My_Projects>ant -verbose -logger
org.apache.tools.ant.listener.Log4jListener
email
Apache Ant version 1.5Beta1 compiled on April 30 2002
Buildfile: build.xml
log4j:ERROR No appenders could be found for category (org.apache.tools.ant).
log4j:ERROR Please initialize the log4j system properly.
The specified logger class org.apache.tools.ant.listener.Log4jListener does
not
implement the BuildLogger interface
java.lang.RuntimeException
        at org.apache.tools.ant.Main.createLogger(Main.java:703)
        at org.apache.tools.ant.Main.addBuildListeners(Main.java:639)
        at org.apache.tools.ant.Main.runBuild(Main.java:553)
        at org.apache.tools.ant.Main.start(Main.java:195)
        at org.apache.tools.ant.Main.main(Main.java:234)

</snip>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to