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".
7 # java -Dlog4j.configDebug=true
10 log4j.rootLogger=WARN, stdout
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
19 ## no need to configure a FileAppender here
20 ## use eu.etaxonomy.cdm.remote.config.LoggingConfigurer instead
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.TaxonNameBase = ERROR
29 log4j.logger.eu.etaxonomy.cdm.database.UpdatableRoutingDataSource = INFO
30 log4j.logger.eu.etaxonomy.cdm.persistence.dao.initializer.AbstractBeanInitializer = ERROR
31 log4j.logger.eu.etaxonomy.cdm.remote.controller = INFO
32 #log4j.logger.eu.etaxonomy.cdm.remote.json.processor.AbstractCdmBeanProcessor = DEBUG
33 log4j.logger.eu.etaxonomy.cdm.remote.controller.interceptor = WARN
34 # prevent CdmExceptionResolver from logging errors
35 log4j.logger.eu.etaxonomy.cdm.remote.exception.CdmExceptionResolver = ERROR
40 log4j.logger.org.springframework = warn
41 #log4j.logger.org.springframework.beans.factory.support = DEBUG
42 log4j.logger.org.springframework.web.servlet.DispatcherServlet = WARN
43 log4j.logger.org.springframework.web.servlet.mvc.annotation = WARN
44 #log4j.category.org.springframework.web.servlet.mvc.support=DEBUG, stdout
45 log4j.logger.org.springframework.web.servlet.view = WARN
50 log4j.logger.net.sf.json.JSONObject = ERROR
55 log4j.logger.org.hibernate=WARN
57 log4j.logger.org.hibernate.SQL=WARN
58 log4j.logger.org.hibernate.engine.QueryParameters=WARN
60 log4j.logger.org.hibernate.search = ERROR
61 # log JDBC bind parameters
62 log4j.logger.org.hibernate.type=WARN
63 # log schema export/update
64 log4j.logger.org.hibernate.tool.hbm2ddl=WARN
65 # This overcomes the proxy narrow log of hibernate
66 log4j.logger.org.hibernate.engine.internal.StatefulPersistenceContext=ERROR