Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

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

History | View | Annotate | Download (2.97 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
#     prevent CdmExceptionResolver from logging errors
45
log4j.logger.eu.etaxonomy.cdm.remote.exception.CdmExceptionResolver = ERROR
46

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

    
56
###
57
# json-lib
58
###
59
log4j.logger.net.sf.json.JSONObject = ERROR
60

    
61
###
62
# Hibernate
63
###
64
log4j.logger.org.hibernate=WARN
65
log4j.logger.org.hibernate.search = ERROR
66

    
67
#     log just the SQL (DEBUG to see)
68
log4j.logger.org.hibernate.SQL=ERROR
69
log4j.logger.org.hibernate.engine.query=ERROR
70
#     log JDBC bind parameters (TRACE to see)
71
log4j.logger.org.hibernate.type=ERROR
72
log4j.logger.org.hibernate.type.descriptor.sql.BasicBinder=ERROR
73

    
74
#     log schema export/update
75
log4j.logger.org.hibernate.tool.hbm2ddl=WARN
76
# This overcomes the proxy narrow log of hibernate
77
log4j.logger.org.hibernate.engine.internal.StatefulPersistenceContext=ERROR
78

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