Hello,
I have some problems with Log4j and cactus
I use the cactus 1.3 release and finally, after many tries, I wonder
what is the release used by cactus for log4j ?
The log4j-xxx.jar found in cactus 1.3 has not the same size than the
log4jxxx.jar available onto log4j web site :
- The log4j-xxx.jar file for log4j 1.1.3 is smaller and send a
NoClassFoundException for Logger class
- The log4j-xxx.jar file for log4j 1.2beta is bigger and send a
no such method error in the BasicLog constructor
But in both case the log_xxx.properties are correcly parsed. However the
original log4jxxx.jar file provided with cactus 1.3 gives me the
following errors
<<<<<<<<<<<<<<<<<
log4j:ERROR A "org.apache.log4j.FileAppender" object is not assignable
to a "org.apache.log4j.Appender" variable.
log4j:ERROR Could not instantiate appender named "cactus".
log4j:ERROR A "org.apache.log4j.FileAppender" object is not assignable
to a "org.apache.log4j.Appender" variable.
log4j:ERROR Could not instantiate appender named "cactus".
log4j:WARN No appenders could be found for logger
(test.CurrencyConverterEJBTestSuite.context.Context).
log4j:WARN Please initialize the log4j system properly.
<<<<<<<<<<<<<<<<<<
The log_client.properties is attached to this mail
Any ideas onto the release of log4j used by cactus ?
Any ideas onto my problem ?
Does anybody use log4j with cactus on this list ?
Thanks for answers
Florent
# Properties for configuring Log4j
# This is the configuring for logging on the JUnit side (i.e. the client side)
log4j.appender.cactus=org.apache.log4j.FileAppender
log4j.appender.cactus.File = cactus_client.log
log4j.appender.cactus.Append = false
log4j.appender.cactus.layout = org.apache.log4j.PatternLayout
log4j.appender.cactus.layout.ConversionPattern = %d{ABSOLUTE} [%t] %-5p %-30.30c{2} %x
- %m %n
# Any application log which uses Log4J will be logged to the Cactus log file
log4j.rootCategory = DEBUG, cactus
# By default we don't log at the DEBUG level for Cactus log, in order not to generate
too
# many logs. However, should a problem arise and logs need to be sent to the Cactus
dev team,
# then we will ask you to change this to DEBUG.
log4j.category.org.apache.cactus = WARN, cactus
log4j.additivity.org.apache.cactus = false
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>