我已经将ehcache spring annotation jar与部署在jboss 上的spring mvc 3.0.3和spring secirty 3.0.5集成在一起
我看不到任何引用的ehcache日志http://blog.goyello.com/2010/07/29/quick-start-with-ehcache-annotations-for-spring/但我没有犯任何错误。
我将xml定义为分贝servlet分贝上下文分贝安全web.xml
我的log4j.properties-----------------------
log4j.rootLogger=调试,控制台
log4j.appender.consol=org.apache.log4j.ConsoleAppenderlog4j.appender.console.Threshold=调试
log4j.appender.consol.layout=org.apache.log4j.PatternLayoutlog4j.appender.consol.layoutConversionPattern=%-5p[%c]:%m%n
log4j.logger.org.springframework=INFO
尝试在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