Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

cdmlib / cdmlib-io / src / main / resources / log4j.properties @ af42d93a

History | View | Annotate | Download (2.43 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=info, stdout
21

    
22
### *** CDM *** ###
23
log4j.logger.eu.etaxonomy.cdm = warn 
24
log4j.logger.eu.etaxonomy.cdm.api.application.eclipse = warn
25
log4j.logger.eu.etaxonomy.cdm.io.berlinModel = info
26
log4j.logger.eu.etaxonomy.cdm.model.common.init = warn
27

    
28
### *** SPRING ************ ###
29
log4j.logger.org.springframework.transaction = warn
30
log4j.logger.org.hibernate.engine.LoadContexts = error
31
log4j.logger.org.springframework.orm.hibernate5.SessionFactoryUtils = info
32
log4j.logger.org.springframework.orm.hibernate5 = info
33
log4j.logger.org.springframework.FileSystemXmlApplicationContext = warn;
34
log4j.logger.org.springframework.core.io.support = info
35

    
36

    
37
### ***HIBERNATE ************ ###
38
log4j.logger.org.hibernate=warn
39
log4j.logger.org.hibernate.orm.deprecation = error
40

    
41
### No warnings as thrown by SQLServer
42
log4j.logger.org.hibernate.cfg = warn
43

    
44
### No warnings as thrown by SQLServer
45
log4j.logger.org.hibernate.util.JDBCExceptionReporter = error
46

    
47
### log HQL query parser activity
48
#log4j.logger.org.hibernate.hql.ast.AST=debug
49

    
50
### log just the SQL
51
log4j.logger.org.hibernate.SQL=warn
52

    
53
### log JDBC bind parameters ###
54
log4j.logger.org.hibernate.type=warn
55

    
56
### log schema export/update ###
57
log4j.logger.org.hibernate.tool.hbm2ddl=warn
58

    
59
### log HQL parse trees
60
#log4j.logger.org.hibernate.hql=debug
61

    
62
### log cache activity ###
63
#log4j.logger.org.hibernate.cache=debug
64

    
65
### log transaction activity
66
#log4j.logger.org.hibernate.transaction=debug
67

    
68
### log JDBC resource acquisition
69
log4j.logger.org.hibernate.jdbc=info
70

    
71
### enable the following line if you want to track down connection ###
72
### leakages when using DriverManagerConnectionProvider ###
73
#log4j.logger.org.hibernate.connection.DriverManagerConnectionProvider=trace
Add picture from clipboard (Maximum size: 40 MB)