Project

General

Profile

Statistics
| Branch: | Revision:

cdmlib-apps / cdm-pesi / src / main / resources / log4j.properties @ 20553b7e

History | View | Annotate | Download (3.18 KB)

1
#
2
#
3
# If you are having problems with logging you may debug Log4J initialization, 
4
# start the application with a system property log4j.configDebug set to "true". 
5
# E.g.:
6
#
7
#     java -Dlog4j.configDebug=true
8
#
9
### ************ APPENDER ***********************************###
10

    
11
### direct log messages to stdout ###
12
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
13
log4j.appender.stdout.Target=System.out
14
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
15
log4j.appender.stdout.layout.ConversionPattern=%d{ABSOLUTE} %5p %c{1}:%L - %m%n
16

    
17
### direct messages to file hibernate.log ###
18
log4j.appender.file=org.apache.log4j.FileAppender
19
log4j.appender.file.File=pesi.log
20
log4j.appender.file.layout=org.apache.log4j.PatternLayout
21
log4j.appender.file.layout.ConversionPattern=%d{ABSOLUTE} %5p %c{1}:%L - %m%n
22

    
23

    
24
### ************* LOG LEVELS *********************************###
25

    
26
### set log levels - for more verbose logging change 'info' to 'debug' ###
27

    
28
log4j.rootLogger=warn, stdout
29

    
30
	### *** CDM *** ###
31
#log4j.logger.eu.etaxonomy.cdm.common.ExcelUtils = debug
32
log4j.logger.eu.etaxonomy.cdm = warn 
33
log4j.logger.eu.etaxonomy.cdm.common.MediaMetaData = error
34
log4j.logger.eu.etaxonomy.cdm.io.common.CdmApplicationAwareDefaultImport = warn
35
log4j.logger.eu.etaxonomy.cdm.io.common.CdmIoBase = error
36
log4j.logger.eu.etaxonomy.cdm.io.berlinModel = info
37
log4j.logger.eu.etaxonomy.cdm.io.pesi.faunaEuropaea = info, file
38
log4j.logger.eu.etaxonomy.cdm.io.pesi.indexFungorum = info
39
log4j.logger.eu.etaxonomy.cdm.io.faunaEuropaea = info
40
log4j.logger.eu.etaxonomy.cdm.io.specimen = info
41
log4j.logger.eu.etaxonomy.cdm.io.pesi.out = info
42
log4j.logger.eu.etaxonomy.cdm.persistence.dao.hibernate.common = info
43

    
44
### *** SPRING ************ ###
45
log4j.logger.org.springframework.transaction = warn
46
log4j.logger.org.hibernate.engine.LoadContexts = error
47
log4j.logger.org.springframework.orm.hibernate4.SessionFactoryUtils = info
48
log4j.logger.org.springframework.orm.hibernate4 = info
49
log4j.logger.org.springframework.FileSystemXmlApplicationContext = warn;
50
log4j.logger.org.springframework.core.io.support = info
51

    
52

    
53
### ***HIBERNATE ************ ###
54
log4j.logger.org.hibernate=warn
55
log4j.logger.org.hibernate.engine.internal.StatefulPersistenceContext=error
56

    
57
log4j.logger.org.hibernate.orm.deprecation = error
58

    
59
### No warnings as thrown by SQLServer
60
log4j.logger.org.hibernate.cfg = warn
61

    
62
### No warnings as thrown by SQLServer
63
log4j.logger.org.hibernate.util.JDBCExceptionReporter = error
64

    
65
### log HQL query parser activity
66
#log4j.logger.org.hibernate.hql.ast.AST=debug
67

    
68
### log just the SQL
69
log4j.logger.org.hibernate.SQL=info
70

    
71
### log JDBC bind parameters ###
72
log4j.logger.org.hibernate.type=warn
73

    
74
### log schema export/update ###
75
log4j.logger.org.hibernate.tool.hbm2ddl=warn
76

    
77
### log HQL parse trees
78
#log4j.logger.org.hibernate.hql=debug
79

    
80
### log cache activity ###
81
#log4j.logger.org.hibernate.cache=debug
82

    
83
### log transaction activity
84
#log4j.logger.org.hibernate.transaction=debug
85

    
86
### log JDBC resource acquisition
87
log4j.logger.org.hibernate.jdbc=info
88

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