You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by Thomas SMETS <ts...@altern.org> on 2001/12/08 02:54:48 UTC
Problem with Beta2
My Property file is the follwoing
<snip>
log4j.rootLogger=WARN, LogTestData
log4j.appender.LogTestData=org.apache.log4j.ConsoleAppender
# Sets the Layout
log4j.appender.LogTestData.layout=org.apache.log4j.PatternLayout
# Print the date in ISO 8601 format
log4j.appender.LogTestData.layout.ConversionPattern=[%t] %-5p %c - %m%n
#log4j.category.suncertify.enhenceddb.test.DatabaseException=DEBUG
</snip>
and the system gives :
<snip>
TestData:
[echo] Classpath is
C:\jdk\libs\log4j-1.2alpha2.jar;C:\jdk\libs\junit.jar;D:\cygwin\data\Develop
perCertification\scjd\classes
[java] log4j:ERROR A "org.apache.log4j.ConsoleAppender" object is not
assignable to a "org.apache.log4j.Appender" variable.
[java] log4j:ERROR Could not instantiate appender named "LogTestData".
</snip>
Could some one explain what is not right ?
Thomas,
--
Thomas SMETS
rue J. Wytsman 62
1050 Bruxelles
yahoo-id : smetsthomas
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>