log4j.rootLogger=warn,stdout
log4j.logger.org.dbunit=error
+
+### avoid warnings about inappropriate Annotations ###
+# TODO remove the below two line after updating to hibernate 4.x
log4j.logger.org.hibernate.search.engine.DocumentBuilderContainedEntity=error
log4j.logger.org.hibernate.search.impl.SearchFactoryImpl=error
### *** jUnitBenchmarks *** ###
-log4j.logger.com.carrotsearch.junitbenchmarks=INFO
+#log4j.logger.com.carrotsearch.junitbenchmarks=INFO
### *** CDM *** ###
#log4j.logger.org.springframework.FileSystemXmlApplicationContext = warn
#log4j.logger.org.springframework.core.io.support = info
+#### log spring security #####
+#log4j.logger.eu.etaxonomy.cdm.persistence.permission=debug
+log4j.logger.eu.etaxonomy.cdm.persistence.permission.CdmAuthority=warn
+#log4j.logger.eu.etaxonomy.cdm.persistence.hibernate.CdmSecurityHibernateInterceptor=debug
+#log4j.logger.org.springframework.security.access.intercept=debug
+#log4j.logger.org.springframework.security.access.vote=debug
+#log4j.logger.eu.etaxonomy.cdm.test.integration.CdmTransactionalIntegrationTest=debug
+
+#org.dbunit.database.statement.AutomaticPreparedBatchStatement
+
+
+
+### ***HIBERNATE ************ ###
- ### ***HIBERNATE ************ ###
+# suppress HHH90000003
+log4j.logger.org.hibernate.orm.deprecation=ERROR
#log4j.logger.org.hibernate=warn, file
#log4j.logger.org.hibernate.tool.hbm2ddl.SchemaExport = error
#log4j.logger.org.hibernate.hql.ast.AST=debug
### log just the SQL
+# to log more context specific use this snipped in the code:
+# Logger.getLogger("org.hibernate.SQL").setLevel(Level.TRACE);
#log4j.logger.org.hibernate.SQL=TRACE
+### log just hibernate processing queries
+#log4j.logger.org.hibernate.engine.query = TRACE
+
### log JDBC bind parameters ###
#log4j.logger.org.hibernate.type=TRACE
### log cache activity ###
#log4j.logger.org.hibernate.cache=debug
-### log transaction activity
+### log transaction management & binding
#log4j.logger.org.hibernate.transaction=debug
+#log4j.logger.org.springframework.transaction.support.TransactionSynchronizationManager=trace
+#log4j.logger.org.springframework.orm.hibernate3.HibernateTransactionManager=trace
+#log4j.logger.org.springframework.orm.hibernate3=trace
+
+### log AuditEvent Management ####
+#log4j.logger.eu.etaxonomy.cdm.persistence.dao.hibernate.common.VersionableDaoBase=debug
### log JDBC resource acquisition
#log4j.logger.org.hibernate.jdbc=info
+### log hibernate id generation
+#log4j.logger.org.hibernate.id = INFO
+
### enable the following line if you want to track down connection ###
### leakages when using DriverManagerConnectionProvider ###
#log4j.logger.org.hibernate.connection.DriverManagerConnectionProvider=trace
+### hibernate search & Lucene
+#log4j.logger.eu.etaxonomy.cdm.search.LuceneSearch=info
+
### log CDM-Updater
log4j.logger.eu.etaxonomy.cdm.database.update=info
#log4j.appender.profiling.layout=org.apache.log4j.PatternLayout
#log4j.appender.profiling.layout.conversionPattern=%d,%p,%m%n
+### log dbUnit data loading
+#log4j.appender.org.unitils.dbunit=debug
+#log4j.appender.org.dbunit=debug
+#log4j.appender.org.dbunit.database.statement=debug
+#log4j.appender.org.dbunit.database.DatabaseConfig=trace
+