Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

cdmlib / cdmlib-persistence / src / test / resources / log4j.properties @ 567de3cd

History | View | Annotate | Download (4.83 KB)

1
### ************ APPENDER ***********************************###
2

    
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
8

    
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
14

    
15

    
16
### ************* LOG LEVELS *********************************###
17

    
18
### set log levels - for more verbose logging change 'info' to 'debug' ###
19

    
20
log4j.rootLogger=warn,stdout
21
log4j.logger.org.dbunit=error
22

    
23
### avoid warnings about inappropriate Annotations ###
24
# TODO remove the below two line after updating to hibernate 4.x
25
log4j.logger.org.hibernate.search.engine.DocumentBuilderContainedEntity=error
26
log4j.logger.org.hibernate.search.impl.SearchFactoryImpl=error
27

    
28
  ### *** jUnitBenchmarks *** ###
29
#log4j.logger.com.carrotsearch.junitbenchmarks=INFO
30

    
31
  ### *** CDM *** ###
32

    
33
#log4j.logger.eu.etaxonomy.cdm = info
34
#log4j.logger.eu.etaxonomy.cdm.database.init = debug
35

    
36

    
37
  ### *** SPRING ************ ###
38
#log4j.logger.org.springframework.transaction = warn
39
#log4j.logger.org.springframework.orm.hibernate3.SessionFactoryUtils = info
40
#log4j.logger.org.springframework.orm.hibernate3 = info
41
#log4j.logger.org.springframework.FileSystemXmlApplicationContext = warn
42
#log4j.logger.org.springframework.core.io.support = info
43

    
44
#### log spring security #####
45
#log4j.logger.eu.etaxonomy.cdm.persistence.hibernate.permission=debug
46
log4j.logger.eu.etaxonomy.cdm.persistence.hibernate.permission.CdmAuthority=warn
47
#log4j.logger.eu.etaxonomy.cdm.persistence.hibernate.CdmSecurityHibernateInterceptor=debug
48
#log4j.logger.org.springframework.security.access.intercept=debug
49
#log4j.logger.org.springframework.security.access.vote=debug
50
#log4j.logger.eu.etaxonomy.cdm.test.integration.CdmTransactionalIntegrationTest=debug
51

    
52
#org.dbunit.database.statement.AutomaticPreparedBatchStatement
53

    
54

    
55
  ### ***HIBERNATE ************ ###
56

    
57
#log4j.logger.org.hibernate=warn, file
58
#log4j.logger.org.hibernate.tool.hbm2ddl.SchemaExport = error
59
#log4j.logger.org.hibernate.engine.LoadContexts = error
60
#
61
#log4j.logger.org.hibernate.envers.event.AuditEventListener = debug, file
62

    
63
### No warnings as thrown by SQLServer
64
#log4j.logger.org.hibernate.cfg = warn
65

    
66
### No warnings as thrown by SQLServer
67
#log4j.logger.org.hibernate.util.JDBCExceptionReporter = error
68

    
69
### log HQL query parser activity
70
#log4j.logger.org.hibernate.hql.ast.AST=debug
71

    
72
### log just the SQL
73
# to log more context specific use this snipped in the code:
74
#     Logger.getLogger("org.hibernate.SQL").setLevel(Level.TRACE);
75
#log4j.logger.org.hibernate.SQL=TRACE
76

    
77
### log just hibernate processing queries 
78
#log4j.logger.org.hibernate.engine.query = TRACE
79

    
80
### log JDBC bind parameters ###
81
#log4j.logger.org.hibernate.type=TRACE
82

    
83
### log schema export/update ###
84
#log4j.logger.org.hibernate.tool.hbm2ddl=warn
85

    
86
### log HQL parse trees
87
#log4j.logger.org.hibernate.hql=debug
88

    
89
### log cache activity ###
90
#log4j.logger.org.hibernate.cache=debug
91

    
92
### log transaction management & binding
93
#log4j.logger.org.hibernate.transaction=debug
94
#log4j.logger.org.springframework.transaction.support.TransactionSynchronizationManager=trace
95
#log4j.logger.org.springframework.orm.hibernate3.HibernateTransactionManager=trace
96
#log4j.logger.org.springframework.orm.hibernate3=trace
97

    
98
### log AuditEvent Management ####
99
#log4j.logger.eu.etaxonomy.cdm.persistence.dao.hibernate.common.VersionableDaoBase=debug
100

    
101
### log JDBC resource acquisition
102
#log4j.logger.org.hibernate.jdbc=info
103

    
104
### log hibernate id generation
105
#log4j.logger.org.hibernate.id = INFO
106

    
107
### enable the following line if you want to track down connection ###
108
### leakages when using DriverManagerConnectionProvider ###
109
#log4j.logger.org.hibernate.connection.DriverManagerConnectionProvider=trace
110

    
111
###  hibernate search & Lucene
112
#log4j.logger.eu.etaxonomy.cdm.search.LuceneSearch=info
113

    
114
### log CDM-Updater
115
log4j.logger.eu.etaxonomy.cdm.database.update=info
116

    
117
   ### *** Profiling Logger ************ ###
118

    
119
#log4j.logger.org.springframework.aop.interceptor.PerformanceMonitorInterceptor=TRACE, profiling
120
### Profiling output
121
#log4j.appender.profiling=org.apache.log4j.RollingFileAppender
122
#log4j.appender.profiling.File=profiling.log
123
#log4j.appender.profiling.MaxFileSize=1024KB
124
#log4j.appender.profiling.MaxBackupIndex=1
125
#log4j.appender.profiling.layout=org.apache.log4j.PatternLayout
126
#log4j.appender.profiling.layout.conversionPattern=%d,%p,%m%n
127

    
128
### log dbUnit data loading
129
#log4j.appender.org.unitils.dbunit=debug
130
#log4j.appender.org.dbunit=debug
131
#log4j.appender.org.dbunit.database.statement=debug
132
#log4j.appender.org.dbunit.database.DatabaseConfig=trace
133

    
134

    
Add picture from clipboard (Maximum size: 40 MB)