Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

cdm-server / src / main / resources / log4j.properties @ 2cdf2e95

History | View | Annotate | Download (2.65 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
# NOTE:
13
#   For logging to files see http://www.eclipse.org/jetty/documentation/current/configuring-logging-modules.html 
14
#
15

    
16
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
17
#
18
# NOTE 
19
#   All ConversionPatterns of PatternLayouts will be prefixed by the 
20
#   eu.etaxonomy.cdm.api.config.LoggingConfigurer with the cdm instance name
21
#   See also issue #6249 
22
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
23
log4j.appender.stdout.layout.ConversionPattern=%d %p [%c] - %m%n
24

    
25
log4j.logger.eu.etaxonomy.cdm.server = INFO
26

    
27
###
28
# cdm
29
###
30
log4j.logger.eu.etaxonomy.cdm = INFO
31
# 	  avoid vast amount of "getCitation not yet implemented" & "getProblems not yet implemented" messages
32
log4j.logger.eu.etaxonomy.cdm.model.name.TaxonNameBase = ERROR
33
log4j.logger.eu.etaxonomy.cdm.persistence.dao.initializer = ERROR
34
log4j.logger.eu.etaxonomy.cdm.remote.config = INFO
35
#log4j.logger.eu.etaxonomy.cdm.remote.json.processor.AbstractCdmBeanProcessor  = DEBUG
36
log4j.logger.eu.etaxonomy.cdm.remote.controller = INFO
37
log4j.logger.eu.etaxonomy.cdm.remote.controller.interceptor = WARN
38
#     prevent CdmExceptionResolver from logging errors
39
log4j.logger.eu.etaxonomy.cdm.remote.exception.CdmExceptionResolver = ERROR
40

    
41
log4j.logger.eu.etaxonomy.cdm.server = INFO
42

    
43
###
44
# springframework
45
###
46
log4j.logger.org.springframework = WARN
47
log4j.logger.org.springframework.web.servlet.DispatcherServlet = WARN
48
log4j.logger.org.springframework.web.servlet.mvc.annotation = WARN
49
#log4j.category.org.springframework.web.servlet.mvc.support=DEBUG, stdout
50
log4j.logger.org.springframework.web.servlet.view = WARN
51

    
52
###
53
# json-lib
54
###
55
log4j.logger.net.sf.json.JSONObject = ERROR
56

    
57
###
58
# Hibernate
59
###
60
log4j.logger.org.hibernate=WARN
61
#     log just the SQL
62
log4j.logger.org.hibernate.SQL=WARN
63
log4j.logger.org.hibernate.search = ERROR
64
#     log JDBC bind parameters
65
log4j.logger.org.hibernate.type=WARN
66
#     log schema export/update
67
log4j.logger.org.hibernate.tool.hbm2ddl=WARN
68
# This overcomes the proxy narrow log of hibernate
69
log4j.logger.org.hibernate.engine.StatefulPersistenceContext.ProxyWarnLog=ERROR
70
log4j.logger.com.mchange.v2.c3p0=WARN
71

    
72
# supress HHH90000003
73
log4j.logger.org.hibernate.orm.deprecation=ERROR
74

    
75

    
76
###
77
# jetty
78
###
79
# !!! jetty currently does not work with log4j
80
#     need to implement log4j implementation of org.eclipse.jetty.util.log.Logger ?
81
#log4j.logger.org.eclipse.jetty.server=INFO
Add picture from clipboard (Maximum size: 40 MB)