[slf4j-user] ehcache switched from commons to j.u.l and I see no log files
John Cherouvim
jc at eworx.gr
Mon Aug 24 12:26:39 CEST 2009
Hello
I have an application which uses ehcache 1.5 and I want to switch to 1.6.2
Ehcache switched to J.U.L (from commons) and my application already has
slf4j-api-1.5.8.jar and slf4j-log4j12-5.8.jar (because of hibernate).
The documentation at http://ehcache.org/documentation/logging.html helps
me not.
I tried adding jul-to-slf4j-1.5.8.jar but ehcache logs did not appear.
My log4j.properties file looks like:
> log4j.logger.net.sf.ehcache=ALL, ehcache
>
> log4j.appender.ehcache=org.apache.log4j.RollingFileAppender
> log4j.appender.ehcache.file=${catalina.home}/logs/ehcache.log
> log4j.appender.ehcache.layout=org.apache.log4j.PatternLayout
> log4j.appender.ehcache.layout.conversionPattern=%d{ISO8601} %-5p
> (%F:%L) - %m%n
Is there a way to fix this?
thanks
John
More information about the slf4j-user
mailing list