|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
Cannot get logging to work ehcache 1.6.2Can someone please give me an example of how to turn on fine logging in ehcache?
As a bonus question, if the rest of my project uses slf4j, can someone show me how to turn on logging in ehcache? I've tried for hours but can't get any logging information. I'm using EHCache in a Web Application. Currently, i'm testing in Tomcat. I edited the server's logging.properties file, but that didn't work. I've tried creating a bean in my Spring configuration that installs the SLF4JBridgeHandler before the EHCache is initialized, and that didn't work either (Although Tomcat's JUL calls were routed successfully). I've gotten by so far by patching the EHCache source code to SLF4J. Is anyone interested in these patches? JUL logging is slower than the parameterized logging of SLF4J... (could be a way to pick up some 'free' speed). |
|
|
Re: Cannot get logging to work ehcache 1.6.2I'm having similar issues. I'm trying to track down configuration problems with distributed caching and while tomcat's JUL logging messages seem to honor my /AppName/WEB-INF/classes/logging.properties ehcache's do not and I'm not getting any logging out of it.
Does anyone have a working example of configuring ehcache logging within a webapp on Tomcat? -Eric
|
|
|
Re: Cannot get logging to work ehcache 1.6.2I can't either, and getting it to work in WebSphere is an even bigger nightmare.
Please vote for this issue and pass the word around. SFL4J fixes all the problems and gives us a performance increase: https://jira.terracotta.org/jira/browse/EHC-310 There's a patch associated with that JIRA that we use to use SLF4J. You could compile your own jar.
|
| Free embeddable forum powered by Nabble | Forum Help |