cleanup
[cdmlib.git] / cdmlib-persistence / src / test / resources / log4j.properties
index ce32a2976f85a26c09b38b1ad71f555b367b710e..a9d4a3346f14ad5b3683b10884f322c5f04aa31e 100644 (file)
@@ -19,11 +19,14 @@ log4j.appender.file.layout.ConversionPattern=%d{ABSOLUTE} %5p %c{1}:%L - %m%n
 
 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 *** ###
 
@@ -38,8 +41,22 @@ log4j.logger.com.carrotsearch.junitbenchmarks=INFO
 #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
@@ -57,8 +74,13 @@ log4j.logger.com.carrotsearch.junitbenchmarks=INFO
 #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
 
@@ -71,16 +93,28 @@ log4j.logger.com.carrotsearch.junitbenchmarks=INFO
 ### 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
 
@@ -95,4 +129,10 @@ 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
+