ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mallampati, Suresh" <SMallamp...@erac.com>
Subject problem with log4j logger
Date Tue, 07 May 2002 15:22:36 GMT


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:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message