Re: [slf4j-user] ehcache switched from commons to j.u.l and I see no log files

2009-08-24 Thread Ceki Gulcu
John Cherouvim wrote: Hello Ceki The code that changed is my dependency's (ehcache) and not my application code. I just droped the jar into WEB-INF/lib Is it possible to make logging work again without having to touch any code but only via configuration file changes? Have a look at [1, 2].

Re: [slf4j-user] ehcache switched from commons to j.u.l and I see no log files

2009-08-24 Thread John Cherouvim
Hello Ceki The code that changed is my dependency's (ehcache) and not my application code. I just droped the jar into WEB-INF/lib Is it possible to make logging work again without having to touch any code but only via configuration file changes? thanks for your quick response John Ceki Gul

Re: [slf4j-user] ehcache switched from commons to j.u.l and I see no log files

2009-08-24 Thread Ceki Gulcu
How are you installing jul-to-slf4j? See [1]. You just need to invoke SLF4JBridgeHandler.install(). Note that this approach is OK only if few messages pass through jul to SLF4J as the translation from jul to SLF4J is a costly operation. [1] http://www.slf4j.org/api/org/slf4j/bridge/SLF4JBrid

[slf4j-user] ehcache switched from commons to j.u.l and I see no log files

2009-08-24 Thread John Cherouvim
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 help