Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

cdmlib / cdmlib-remote / src / test / resources / log4j.properties @ f5b2b4ba

History | View | Annotate | Download (2.26 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

    
10
log4j.rootLogger=WARN, stdout
11

    
12

    
13
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
14
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
15
log4j.appender.stdout.layout.ConversionPattern=%d %p [%c] - %m%n
16

    
17
##
18
## NOTICE !!!!
19
## no need to configure a FileAppender here
20
## use eu.etaxonomy.cdm.opt.config.LoggingConfigurer instead
21
##
22

    
23
###
24
# cdm
25
###
26
log4j.logger.eu.etaxonomy.cdm = INFO
27
# 	  avoid vast amount of "getCitation not yet implemented" & "getProblems not yet implemented" messages
28
log4j.logger.eu.etaxonomy.cdm.model.name.TaxonName = ERROR
29
log4j.logger.eu.etaxonomy.cdm.database.UpdatableRoutingDataSource = INFO
30
log4j.logger.eu.etaxonomy.cdm.persistence.dao.initializer = ERROR
31
log4j.logger.eu.etaxonomy.cdm.remote.controller = INFO
32
log4j.logger.eu.etaxonomy.cdm.remote.controller.interceptor = WARN
33
#log4j.logger.eu.etaxonomy.cdm.remote.json.processor.AbstractCdmBeanProcessor  = DEBUG
34
#     prevent CdmExceptionResolver from logging errors
35
log4j.logger.eu.etaxonomy.cdm.remote.exception.CdmExceptionResolver = ERROR
36

    
37
###
38
# springframework
39
### 
40
log4j.logger.org.springframework = WARN
41
#log4j.logger.org.springframework.web.servlet.DispatcherServlet = TRACE
42
#log4j.logger.org.springframework.web.servlet.view = TRACE
43
log4j.logger.org.springframework.web.servlet.view = WARN
44
log4j.logger.org.springframework.web.servlet.mvc.annotation = WARN
45
#log4j.category.org.springframework.web.servlet.mvc.support=DEBUG, stdout
46

    
47
###
48
# json-lib
49
### 
50
log4j.logger.net.sf.json.JSONObject = ERROR
51

    
52
###
53
# Hibernate
54
###
55

    
56
# suppress HHH90000003
57
log4j.logger.org.hibernate.orm.deprecation=ERROR
58

    
59
log4j.logger.org.hibernate=WARN
60
#     log just the SQL
61
log4j.logger.org.hibernate.SQL=WARN
62
log4j.logger.org.hibernate.search = ERROR
63
#     log JDBC bind parameters
64
log4j.logger.org.hibernate.type=WARN
65
#     log schema export/update
66
log4j.logger.org.hibernate.tool.hbm2ddl=WARN
67
# This overcomes the proxy narrow log of hibernate
68
log4j.logger.org.hibernate.engine.internal.StatefulPersistenceContext=ERROR
69

    
70
log4j.logger.com.mchange.v2.c3p0=WARN
Add picture from clipboard (Maximum size: 40 MB)