1 <?xml version=
"1.0" encoding=
"UTF-8"?>
5 <File name="FILE" fileName="cdmlib-persistence.log" append="true">
6 <PatternLayout pattern="%d{ABSOLUTE} %5p %c{1}:%L - %m%n"/>
9 <Console name=
"STDOUT" target=
"SYSTEM_OUT">
10 <PatternLayout pattern=
"%d{ABSOLUTE} %5p %c{1}:%L - %m%n"/>
15 <AppenderRef ref=
"STDOUT"/>
16 <!-- <AppenderRef ref="FILE"/> -->
18 <Logger name=
"eu.etaxonomy.cdm.common" level=
"warn"/>
20 <Logger name=
"org.dbunit" level=
"warn"/>
21 <!-- Logger name="eu.etaxonomy.cdm" level="info"/ -->
22 <!-- Logger name="eu.etaxonomy.cdm.database.init" level="debug"/ -->
23 <!-- Logger name="eu.etaxonomy.cdm.database.update" level="info"/ -->
24 <!-- Logger name="org.hibernate.engine.query" level="trace"/ -->
26 <!-- Logger name="org.hibernate.envers.event.AuditEventListener" level="debug"/ -->
27 <!-- Logger name="org.hibernate.util.JDBCExceptionReporter" level="error"/ -->
28 <!-- Logger name="org.hibernate.hql.ast.AST" level="debug"/ -->
29 <!-- Logger name="org.hibernate.hql" level="debug"/ -->
30 <!-- Logger name="org.hibernate.jdbc" level="info"/ -->
32 <!-- ### log just the SQL
33 ### to log more context specific use this snipped in the code:
34 ### LogUtils.setLevel(logger, Level.TRACE) -->
35 <!-- Logger name="org.hibernate.SQL" level="trace"/ -->
36 <!-- Logger name="org.hibernate.type" level="trace"/ -->
37 <!-- Logger name="org.hibernate.tool.hbm2ddl" level="warn"/ -->
39 <!-- ### log transaction activity -->
40 <!-- Logger name="org.hibernate.transaction" level="debug"/ -->
42 <!-- Logger name="org.hibernate.cache" level="debug"/ -->
48 <!-- enable the following line if you want to track down connection
49 leakages when using DriverManagerConnectionProvider -->
50 <!-- Logger name="org.hibernate.connection.DriverManagerConnectionProvider" level="debug"/ -->
52 <Logger name=
"org.hibernate.orm.deprecation" level=
"error"/>
57 ### *** Profiling Logger ************ ###
59 #log4j.logger.org.springframework.aop.interceptor.PerformanceMonitorInterceptor=TRACE, profiling
61 #log4j.appender.profiling=org.apache.log4j.RollingFileAppender
62 #log4j.appender.profiling.File=profiling.log
63 #log4j.appender.profiling.MaxFileSize=1024KB
64 #log4j.appender.profiling.MaxBackupIndex=1
65 #log4j.appender.profiling.layout=org.apache.log4j.PatternLayout
66 #log4j.appender.profiling.layout.conversionPattern=%d,%p,%m%n
68 ### log dbUnit data loading
69 #log4j.appender.org.unitils.dbunit=debug
70 #log4j.appender.org.dbunit=debug
71 #log4j.appender.org.dbunit.database.statement=debug
72 #log4j.appender.org.dbunit.database.DatabaseConfig=trace -->