Project

General

Profile

Download (3.54 KB) Statistics
| Branch: | Revision:
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=hibernate.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.faunaEuropaea = info
38
log4j.logger.eu.etaxonomy.cdm.io.tcsrdf = info
39
log4j.logger.eu.etaxonomy.cdm.io.sdd = info
40
log4j.logger.eu.etaxonomy.cdm.io.faunaEuropaea = info
41
log4j.logger.eu.etaxonomy.cdm.persistence.dao.hibernate.common = info
42
log4j.logger.eu.etaxonomy.cdm.io.taxonx.TaxonXImportConfigurator = error
43
log4j.logger.eu.etaxonomy.cdm.io.taxonx.TaxonXModsImport = warn
44
log4j.logger.eu.etaxonomy.cdm.io.ProtologueImport = info
45
log4j.logger.eu.etaxonomy.cdm.io.PalmaeImageImport = info
46
log4j.logger.eu.etaxonomy.cdm.io.specimen = info
47
log4j.logger.eu.etaxonomy.cdm.app.wp6.palmae.PalmaeTaxonXImportActivator = info
48
log4j.logger.eu.etaxonomy.cdm.app.proibiosphere = info
49
log4j.logger.eu.etaxonomy.cdm.io.taxonx2013 = info
50
	### *** SPRING ************ ###
51
log4j.logger.org.springframework.transaction = warn
52
log4j.logger.org.hibernate.engine.LoadContexts = error
53
log4j.logger.org.springframework.orm.hibernate4.SessionFactoryUtils = info
54
log4j.logger.org.springframework.orm.hibernate4 = info
55
log4j.logger.org.springframework.FileSystemXmlApplicationContext = warn;
56
log4j.logger.org.springframework.core.io.support = info
57

    
58

    
59
	### ***HIBERNATE ************ ###
60

    
61
log4j.logger.org.hibernate=warn
62
log4j.logger.org.hibernate.engine.internal.StatefulPersistenceContext=error
63

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

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

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

    
73
### log just the SQL
74
log4j.logger.org.hibernate.SQL=info
75

    
76
### log JDBC bind parameters ###
77
log4j.logger.org.hibernate.type=warn
78

    
79
### log schema export/update ###
80
log4j.logger.org.hibernate.tool.hbm2ddl=warn
81

    
82
### log HQL parse trees
83
#log4j.logger.org.hibernate.hql=debug
84

    
85
### log cache activity ###
86
#log4j.logger.org.hibernate.cache=debug
87

    
88
### log transaction activity
89
#log4j.logger.org.hibernate.transaction=debug
90

    
91
### log JDBC resource acquisition
92
log4j.logger.org.hibernate.jdbc=info
93

    
94
### enable the following line if you want to track down connection ###
95
### leakages when using DriverManagerConnectionProvider ###
96
#log4j.logger.org.hibernate.connection.DriverManagerConnectionProvider=trace
(5-5/5)