added unplaced and excluded attribute to Taxon
[cdmlib.git] / cdmlib-services / src / test / resources / log4j.properties
index aefb438ef39cf048683454a1c066bf6678bd785d..5509e355c9eecff4ca17dfd18b8eebfd07078482 100644 (file)
@@ -1,3 +1,11 @@
+#
+#
+# If you are having problems with logging you may debug Log4J initialization, 
+# start the application with a system property log4j.configDebug set to "true". 
+# E.g.:
+#
+#     java -Dlog4j.configDebug=true
+#
 ### ************ APPENDER ***********************************###
 
 ### direct log messages to stdout ###
@@ -8,7 +16,7 @@ log4j.appender.stdout.layout.ConversionPattern=%d{ABSOLUTE} %5p %c{1}:%L - %m%n
 
 ### direct messages to file hibernate.log ###
 log4j.appender.file=org.apache.log4j.FileAppender
-log4j.appender.file.File=hibernate.log
+log4j.appender.file.File=./target/hibernate.log
 log4j.appender.file.layout=org.apache.log4j.PatternLayout
 log4j.appender.file.layout.ConversionPattern=%d{ABSOLUTE} %5p %c{1}:%L - %m%n
 
@@ -17,25 +25,34 @@ log4j.appender.file.layout.ConversionPattern=%d{ABSOLUTE} %5p %c{1}:%L - %m%n
 
 ### set log levels - for more verbose logging change 'info' to 'debug' ###
 
-log4j.rootLogger=warn, stdout
+log4j.rootLogger=warn, stdout, file
 
        ### *** CDM *** ###
 
 log4j.logger.eu.etaxonomy.cdm = info
 log4j.logger.eu.etaxonomy.cdm.database.init = warn
+#
 log4j.logger.eu.etaxonomy.cdm.model.common.init = warn
+#
+log4j.logger.eu.etaxonomy.cdm.test.function = info
+log4j.logger.eu.etaxonomy.cdm.test.integration = info
 log4j.logger.eu.etaxonomy.cdm.api.application = warn
-log4j.logger.eu.etaxonomy.cdm.database.VocabularyStoreImpl = warn
+log4j.logger.eu.etaxonomy.cdm.api.service = info
+#log4j.logger.eu.etaxonomy.cdm.database.VocabularyStoreImpl = warn
+#
+log4j.logger.eu.etaxonomy.cdm.database = warn
+log4j.logger.eu.etaxonomy.cdm.persistence.dao.hibernate.common = warn
+
                
 
 
        ### *** SPRING ************ ###
-log4j.logger.org.springframework.transaction = info
-log4j.logger.org.hibernate.engine.LoadContexts = info
-log4j.logger.org.springframework.orm.hibernate3.SessionFactoryUtils = info
-log4j.logger.org.springframework.orm.hibernate3 = info
+log4j.logger.org.springframework.transaction = warn
+log4j.logger.org.hibernate.engine.LoadContexts = warn
+log4j.logger.org.springframework.orm.hibernate3.SessionFactoryUtils = warn
+log4j.logger.org.springframework.orm.hibernate3 = warn
 log4j.logger.org.springframework.FileSystemXmlApplicationContext = warn;
-log4j.logger.org.springframework.core.io.support = info
+log4j.logger.org.springframework.core.io.support = warn
 
 
        ### ***HIBERNATE ************ ###
@@ -43,7 +60,7 @@ log4j.logger.org.springframework.core.io.support = info
 log4j.logger.org.hibernate=warn
 
 ### No warnings as thrown by SQLServer
-log4j.logger.org.hibernate.cfg = warn
+###log4j.logger.org.hibernate.cfg = warn
 
 ### No warnings as thrown by SQLServer
 log4j.logger.org.hibernate.util.JDBCExceptionReporter = error
@@ -52,16 +69,17 @@ log4j.logger.org.hibernate.util.JDBCExceptionReporter = error
 #log4j.logger.org.hibernate.hql.ast.AST=debug
 
 ### log just the SQL
-log4j.logger.org.hibernate.SQL=warn
+#log4j.logger.org.hibernate.SQL=trace
 
 ### log JDBC bind parameters ###
-log4j.logger.org.hibernate.type=warn
+#log4j.logger.org.hibernate.type=trace
 
 ### log schema export/update ###
 log4j.logger.org.hibernate.tool.hbm2ddl=warn
 
 ### log HQL parse trees
-#log4j.logger.org.hibernate.hql=debug
+log4j.logger.org.hibernate.hql=warn
+log4j.logger.org.hibernate.hql.ast=warn
 
 ### log cache activity ###
 #log4j.logger.org.hibernate.cache=debug
@@ -75,3 +93,21 @@ log4j.logger.org.hibernate.jdbc=info
 ### enable the following line if you want to track down connection ###
 ### leakages when using DriverManagerConnectionProvider ###
 #log4j.logger.org.hibernate.connection.DriverManagerConnectionProvider=trace
+
+### enable logging if you want to track what is happening in the database ###
+#log4j.logger.eu.etaxonomy.cdm.persistence.hibernate.CdmPostCrudObservableListener=trace
+
+
+   ### *** Profiling Logger ************ ###
+   
+#log4j.logger.org.springframework.aop.interceptor.PerformanceMonitorInterceptor=TRACE, profiling
+### Profiling output
+#log4j.appender.profiling=org.apache.log4j.RollingFileAppender
+#log4j.appender.profiling.File=profiling.log
+#log4j.appender.profiling.MaxFileSize=1024KB
+#log4j.appender.profiling.MaxBackupIndex=1
+#log4j.appender.profiling.layout=org.apache.log4j.PatternLayout
+#log4j.appender.profiling.layout.conversionPattern=%d,%p,%m%n
+
+#log4j.logger.org.springframework.context.annotation.ClassPathBeanDefinitionScanner = trace
+