我已经整合了Ehcache弹簧的注释罐子部署在JBoss Spring MVC的3.0.3和春季secuirty 3.0.5的Ehcache春天注释日志跟踪
我看不出有任何的Ehcache日志称为http://blog.goyello.com/2010/07/29/quick-start-with-ehcache-annotations-for-spring/但我没有得到任何错误。
我定义为分贝的servlet 分贝上下文 分贝的安全 web.xml中
我log4j.properties个XML ------------------ -----
log4j.rootLogger = DEBUG,控制台
log4j.appender.console = org.apache.log4j.ConsoleAppender log4j.appender.console.Threshold = DEBUG
log4j.appen der.console.layout = org.apache.log4j.PatternLayout log4j.appender.console.layout.ConversionPattern =% - 5P〔%C〕:%M%N
log4j.logger.org.springframework = INFO
得到了一些变化 –
现在获得23:16:40328 INFO [STDOUT] DEBUG [net.sf.ehcache.config.ConfigurationHelper]:C acheDecoratorFactory未配置为defaultCache。跳过'messagesCach e'。 –
我的ehcache.xml <?xml version =“1.0”encoding =“UTF-8”?> –