1. Hibernate cache logging is not woking in 3.6.0.Final release forum.hibernate.orgHi, Im facing one problem hibernate cache logging is not working in 3.6.0.Final version. But I found jdbc and transactions loggings are working. Please find below my log4j.properties and jar files Im using in my classpath (Im testing on JBoss5.1.0GA) Jars: Hibernate-3.6.0.Final.jar hibernate-entitymanager-3.4.0.GA.jar hibernate-jpa-2.0-api-1.0.0.Final.jar hibernate-validator-4.1.0.Final.jar slf4j-api-1.6.1.jar slf4j-ext-1.6.1.jar slf4j-jcl-1.6.1.jar slf4j-jdk14-1.5.11.jar slf4j-jdk14-1.6.1.jar slf4j-log4j12-1.6.1.jar slf4j-nop-1.6.1.jar slf4j-simple-1.6.1.jar log4j-1.2.16.jar log4j.properties: ### direct log messages to stdout ... |
2. ehcache logging? forum.hibernate.orgTry, try, try as I might, I can't seem to get ehcache to generate any logging information. I even implemented my own dummy version of Cache/CacheProvider that logs to log4j, and while that works (nicely illustrating Hibernate's cache behavior, by the way), switching back to ehcahce doesn't seem to work. Hibernate does report that ehcache is loading, and as near as ... |
3. Cache Logging forum.hibernate.orgHibernate version: 3.1.3 using ehcache how can i debug what is being retrieved from cache and what is coming from the database? i'm trying to assertain that cache is working as i expect it to. I've tried setting log4j category 'org.hibernate.cache' to DEBUG but it only tells me what key it uses for particular classes, not when something is loaded out ... |