Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

cdmlib / cdmlib-remote-webapp / src / main / resources / log4j.properties @ f5b2b4ba

History | View | Annotate | Download (2.91 KB)

1
###############################################################################
2
#
3
# This log4j.properties file will be used when running executing
4
# cdmlib-remote-webapp directly in a servelet container like jetty
5
#
6
###############################################################################
7
#
8
#
9
# If you are having problems with logging you may debug Log4J initialization,
10
# start the application with a system property log4j.configDebug set to "true".
11
# E.g.:
12
#
13
#     java -Dlog4j.configDebug=true
14
#
15

    
16
log4j.rootLogger=WARN, stdout
17

    
18

    
19
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
20
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
21
log4j.appender.stdout.layout.ConversionPattern=%d %p [%c] - %m%n
22

    
23
##
24
## NOTICE !!!!
25
## no need to configure a FileAppender here
26
## use eu.etaxonomy.cdm.opt.config.LoggingConfigurer instead
27
##
28

    
29
###
30
# cdm
31
###
32
log4j.logger.eu.etaxonomy.cdm = INFO
33
# 	  avoid vast amount of "getCitation not yet implemented" & "getProblems not yet implemented" messages
34
log4j.logger.eu.etaxonomy.cdm.model.name.TaxonName = ERROR
35
log4j.logger.eu.etaxonomy.cdm.database.UpdatableRoutingDataSource = INFO
36
log4j.logger.eu.etaxonomy.cdm.persistence.dao.initializer = ERROR
37
log4j.logger.eu.etaxonomy.cdm.remote.controller = INFO
38
log4j.logger.eu.etaxonomy.cdm.remote.controller.interceptor = WARN
39
#log4j.logger.eu.etaxonomy.cdm.remote.json.processor.AbstractCdmBeanProcessor  = DEBUG
40
#log4j.logger.eu.etaxonomy.cdm.api.service.description.TransmissionEngineDistribution=DEBUG
41
#log4j.logger.eu.etaxonomy.cdm.api.service.DistributionTree=DEBUG
42

    
43
###
44
# json serialization
45
#log4j.logger.eu.etaxonomy.cdm.remote.json.processor.bean = DEBUG
46

    
47
#     prevent CdmExceptionResolver from logging errors
48
log4j.logger.eu.etaxonomy.cdm.remote.exception.CdmExceptionResolver = ERROR
49

    
50
###
51
# springframework
52
###
53
log4j.logger.org.springframework = warn
54
log4j.logger.org.springframework.web.servlet.DispatcherServlet = WARN
55
log4j.logger.org.springframework.web.servlet.mvc.annotation = WARN
56
#log4j.category.org.springframework.web.servlet.mvc.support=DEBUG, stdout
57
log4j.logger.org.springframework.web.servlet.view = WARN
58

    
59
###
60
# json-lib
61
###
62
log4j.logger.net.sf.json.JSONObject = ERROR
63

    
64
###
65
# Hibernate
66
###
67
log4j.logger.org.hibernate=WARN
68
log4j.logger.org.hibernate.search = ERROR
69
log4j.logger.org.hibernate.orm.deprecation = ERROR
70

    
71

    
72
#     log just the SQL (DEBUG to see)
73
log4j.logger.org.hibernate.SQL=ERROR
74
log4j.logger.org.hibernate.engine.query=ERROR
75
#     log JDBC bind parameters (TRACE to see)
76
log4j.logger.org.hibernate.type=ERROR
77
log4j.logger.org.hibernate.type.descriptor.sql.BasicBinder=ERROR
78

    
79
#     log schema export/update
80
log4j.logger.org.hibernate.tool.hbm2ddl=WARN
81
# This overcomes the proxy narrow log of hibernate
82
log4j.logger.org.hibernate.engine.internal.StatefulPersistenceContext=ERROR
83

    
84
### log transaction binding
85
#log4j.logger.org.hibernate.transaction=debug
86
#log4j.logger.org.springframework.transaction.support.TransactionSynchronizationManager=trace
Add picture from clipboard (Maximum size: 40 MB)