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=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.model.common = debug
25 #log4j.logger.eu.etaxonomy.cdm = warn
26 #log4j.logger.eu.etaxonomy.cdm.model.common.init = debug,stdout
27 #log4j.logger.eu.etaxonomy.cdm.test.function = info
30 ### *** SPRING ************ ###
31 log4j.logger.org.springframework.transaction = warn
32 log4j.logger.org.springframework.orm.hibernate5.SessionFactoryUtils = info
33 log4j.logger.org.springframework.orm.hibernate5 = info
34 log4j.logger.org.springframework.FileSystemXmlApplicationContext = warn
35 log4j.logger.org.springframework.core.io.support = info
39 ### No warnings as thrown by SQLServer
40 log4j.logger.org.hibernate.cfg = warn
42 ### No warnings as thrown by SQLServer
43 log4j.logger.org.hibernate.util.JDBCExceptionReporter = error
45 ### log HQL query parser activity
46 #log4j.logger.org.hibernate.hql.ast.AST=debug
49 log4j.logger.org.hibernate.SQL=warn
51 ### log JDBC bind parameters ###
52 log4j.logger.org.hibernate.type=warn
54 ### log schema export/update ###
55 log4j.logger.org.hibernate.tool.hbm2ddl=warn
57 ### log HQL parse trees
58 #log4j.logger.org.hibernate.hql=debug
60 ### log cache activity ###
61 #log4j.logger.org.hibernate.cache=debug
63 ### log transaction activity
64 #log4j.logger.org.hibernate.transaction=debug
66 ### log JDBC resource acquisition
67 log4j.logger.org.hibernate.jdbc=info
69 ### enable the following line if you want to track down connection ###
70 ### leakages when using DriverManagerConnectionProvider ###
71 #log4j.logger.org.hibernate.connection.DriverManagerConnectionProvider=trace
73 ### *** Profiling Logger ************ ###
75 #log4j.logger.org.springframework.aop.interceptor.PerformanceMonitorInterceptor=TRACE, profiling
77 #log4j.appender.profiling=org.apache.log4j.RollingFileAppender
78 #log4j.appender.profiling.File=profiling.log
79 #log4j.appender.profiling.MaxFileSize=1024KB
80 #log4j.appender.profiling.MaxBackupIndex=1
81 #log4j.appender.profiling.layout=org.apache.log4j.PatternLayout
82 #log4j.appender.profiling.layout.conversionPattern=%d,%p,%m%n