Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

cdmlib / cdmlib-persistence / src / main / resources / log4j.properties @ c52b7e11

History | View | Annotate | Download (3.32 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=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=debug, stdout, file
21

    
22
  ### *** CDM *** ###
23

    
24
#log4j.logger.eu.etaxonomy.cdm = info
25
#log4j.logger.eu.etaxonomy.cdm.database.init = debug
26

    
27

    
28
  ### *** SPRING ************ ###
29
#log4j.logger.org.springframework.transaction = warn
30
#log4j.logger.org.springframework.orm.hibernate3.SessionFactoryUtils = info
31
#log4j.logger.org.springframework.orm.hibernate3 = info
32
#log4j.logger.org.springframework.FileSystemXmlApplicationContext = warn
33
#log4j.logger.org.springframework.core.io.support = info
34

    
35

    
36
  ### ***HIBERNATE ************ ###
37

    
38
log4j.logger.org.hibernate=debug, file, stdout
39
log4j.logger.org.hibernate.tool.hbm2ddl.SchemaExport = error
40
log4j.logger.eu.etaxonomy.cdm=debug, stdout, file
41
log4j.logger.org.hibernate.engine.LoadContexts = error
42

    
43

    
44

    
45
### No warnings as thrown by SQLServer
46
log4j.logger.org.hibernate.cfg = warn
47

    
48
### No warnings as thrown by SQLServer
49
log4j.logger.org.hibernate.util.JDBCExceptionReporter = error
50

    
51
### log HQL query parser activity
52
#log4j.logger.org.hibernate.hql.ast.AST=debug
53

    
54
### log just the SQL
55
log4j.logger.org.hibernate.SQL=debug, stdout, file
56

    
57
### log JDBC bind parameters ###
58
log4j.logger.org.hibernate.type=warn
59

    
60
### log schema export/update ###
61
log4j.logger.org.hibernate.tool.hbm2ddl=warn
62

    
63
### log HQL parse trees
64
#log4j.logger.org.hibernate.hql=debug
65

    
66
### log cache activity ###
67
#log4j.logger.org.hibernate.cache=debug
68

    
69
### log transaction activity
70
#log4j.logger.org.hibernate.transaction=debug
71

    
72
### log JDBC resource acquisition
73
log4j.logger.org.hibernate.jdbc=debug, stdout, file
74

    
75
### enable the following line if you want to track down connection ###
76
### leakages when using DriverManagerConnectionProvider ###
77
#log4j.logger.org.hibernate.connection.DriverManagerConnectionProvider=trace
78

    
79
### log CDM-Updater
80
log4j.logger.eu.etaxonomy.cdm.database.update=info
81

    
82
### log AuditEvent Management ####
83
#log4j.logger.eu.etaxonomy.cdm.persistence.dao.hibernate.common.VersionableDaoBase=debug
84

    
85

    
86
   ### *** Profiling Logger ************ ###
87

    
88
#log4j.logger.org.springframework.aop.interceptor.PerformanceMonitorInterceptor=TRACE, profiling
89
### Profiling output
90
#log4j.appender.profiling=org.apache.log4j.RollingFileAppender
91
#log4j.appender.profiling.File=profiling.log
92
#log4j.appender.profiling.MaxFileSize=1024KB
93
#log4j.appender.profiling.MaxBackupIndex=1
94
#log4j.appender.profiling.layout=org.apache.log4j.PatternLayout
95
#log4j.appender.profiling.layout.conversionPattern=%d,%p,%m%n
96

    
97
### log dbUnit data loading
98
#log4j.appender.org.unitils.dbunit=debug
99
#log4j.appender.org.dbunit=debug
100
#log4j.appender.org.dbunit.database.statement=debug
101
#log4j.appender.org.dbunit.database.DatabaseConfig=trace
102

    
Add picture from clipboard (Maximum size: 40 MB)