Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

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

History | View | Annotate | Download (3.06 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.remote.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.TaxonNameBase = ERROR
35
log4j.logger.eu.etaxonomy.cdm.database.UpdatableRoutingDataSource = INFO
36
log4j.logger.eu.etaxonomy.cdm.persistence.dao.initializer.AbstractBeanInitializer = ERROR
37
log4j.logger.eu.etaxonomy.cdm.persistence.dao.initializer.AdvancedBeanInitializer=ERROR
38
log4j.logger.eu.etaxonomy.cdm.remote.controller = INFO
39
log4j.logger.eu.etaxonomy.cdm.remote.controller.interceptor = WARN
40
#log4j.logger.eu.etaxonomy.cdm.remote.json.processor.AbstractCdmBeanProcessor  = DEBUG
41
#log4j.logger.eu.etaxonomy.cdm.api.service.description.TransmissionEngineDistribution=DEBUG
42
#log4j.logger.eu.etaxonomy.cdm.api.service.DistributionTree=DEBUG
43

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

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

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

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

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

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

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

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