1 ### ************ APPENDER ***********************************###
3 ### direct log messages to stdout ###
4 log4j.appender.stdout=org.apache.log4j.ConsoleAppender
5 log4j.appender.stdout.Target=System.out
6 log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
7 log4j.appender.stdout.layout.ConversionPattern=%d{ABSOLUTE} %5p %c{1}:%L - %m%n
9 ### direct messages to file hibernate.log ###
10 log4j.appender.file=org.apache.log4j.FileAppender
11 log4j.appender.file.File=./target/hibernate.log
12 log4j.appender.file.layout=org.apache.log4j.PatternLayout
13 log4j.appender.file.layout.ConversionPattern=%d{ABSOLUTE} %5p %c{1}:%L - %m%n
16 ### ************* LOG LEVELS *********************************###
18 ### set log levels - for more verbose logging change 'info' to 'debug' ###
20 log4j.rootLogger=warn, stdout
24 log4j.logger.eu.etaxonomy.cdm = warn
25 log4j.logger.eu.etaxonomy.cdm.database.init = warn
26 log4j.logger.eu.etaxonomy.cdm.test.function = warn
29 ### *** SPRING ************ ###
30 log4j.logger.org.springframework.transaction = warn
31 log4j.logger.org.springframework.orm.hibernate3.SessionFactoryUtils = info
32 log4j.logger.org.springframework.orm.hibernate3 = info
33 log4j.logger.org.springframework.FileSystemXmlApplicationContext = warn
34 log4j.logger.org.springframework.core.io.support = info
38 ### No warnings as thrown by SQLServer
39 log4j.logger.org.hibernate.cfg = warn
41 ### No warnings as thrown by SQLServer
42 log4j.logger.org.hibernate.util.JDBCExceptionReporter = error
44 ### log HQL query parser activity
45 #log4j.logger.org.hibernate.hql.ast.AST=debug
48 log4j.logger.org.hibernate.SQL=warn
50 ### log JDBC bind parameters ###
51 log4j.logger.org.hibernate.type=warn
53 ### log schema export/update ###
54 log4j.logger.org.hibernate.tool.hbm2ddl=warn
56 ### log HQL parse trees
57 #log4j.logger.org.hibernate.hql=debug
59 ### log cache activity ###
60 #log4j.logger.org.hibernate.cache=debug
62 ### log transaction activity
63 #log4j.logger.org.hibernate.transaction=debug
65 ### log JDBC resource acquisition
66 log4j.logger.org.hibernate.jdbc=info
68 ### enable the following line if you want to track down connection ###
69 ### leakages when using DriverManagerConnectionProvider ###
70 #log4j.logger.org.hibernate.connection.DriverManagerConnectionProvider=trace
72 ### *** Profiling Logger ************ ###
74 #log4j.logger.org.springframework.aop.interceptor.PerformanceMonitorInterceptor=TRACE, profiling
76 #log4j.appender.profiling=org.apache.log4j.RollingFileAppender
77 #log4j.appender.profiling.File=profiling.log
78 #log4j.appender.profiling.MaxFileSize=1024KB
79 #log4j.appender.profiling.MaxBackupIndex=1
80 #log4j.appender.profiling.layout=org.apache.log4j.PatternLayout
81 #log4j.appender.profiling.layout.conversionPattern=%d,%p,%m%n