Rastogi Shobhit
Rastogi Shobhit

Reputation: 71

ehcache spring annotation logs tracking

I had integrated ehcache-spring-annotation jar with spring mvc 3.0.3 and spring secuirty 3.0.5 deployed on jboss

I can't see any ehcache logs as referred http://blog.goyello.com/2010/07/29/quick-start-with-ehcache-annotations-for-spring/ but I am not getting any error.

I have xmls defined as decibel-servlet decibel-context decibel-security web.xml

my log4j.properties -----------------------

log4j.rootLogger=DEBUG, console

log4j.appender.console=org.apache.log4j.ConsoleAppender log4j.appender.console.Threshold=DEBUG

log4j.appender.console.layout=org.apache.log4j.PatternLayout log4j.appender.console.layout.ConversionPattern=%-5p [%c]: %m%n

log4j.logger.org.springframework=INFO

Upvotes: 0

Views: 3747

Answers (1)

abalogh
abalogh

Reputation: 8281

Try adding something like these to your log4j.properties:

log4j.logger.net.sf.ehcache=DEBUG 
log4j.logger.net.sf.ehcache.config=DEBUG 
log4j.logger.net.sf.ehcache.distribution=DEBUG 
log4j.logger.net.sf.ehcache.code=DEBUG  

Upvotes: 2

Related Questions