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
17 log4j.appender.logfile=org.apache.log4j.RollingFileAppender
18 log4j.appender.logfile.File=cdmlib-remote.log
19 log4j.appender.logfile.MaxFileSize=512KB
20 # Keep three backup files.
21 log4j.appender.logfile.MaxBackupIndex=3
22 # Pattern to output: date priority [category] - message
23 log4j.appender.logfile.layout=org.apache.log4j.PatternLayout
24 log4j.appender.logfile.layout.ConversionPattern=%d %p [%c] - %m%n
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.database.UpdatableRoutingDataSource = INFO
34 log4j.logger.eu.etaxonomy.cdm.persistence.dao.AbstractBeanInitializer = ERROR
35 log4j.logger.eu.etaxonomy.cdm.remote.controller = WARN
36 #log4j.logger.eu.etaxonomy.cdm.remote.json.processor.AbstractCdmBeanProcessor = DEBUG
37 log4j.logger.eu.etaxonomy.cdm.remote.controller = INFO
38 log4j.logger.eu.etaxonomy.cdm.remote.controller.interceptor = WARN
39 # prevent CdmExceptionResolver from logging errors
40 log4j.logger.eu.etaxonomy.cdm.remote.exception.CdmExceptionResolver = ERROR
45 log4j.logger.org.springframework = warn
46 log4j.logger.org.springframework.web.servlet.DispatcherServlet = WARN
47 log4j.logger.org.springframework.web.servlet.mvc.annotation = WARN
48 #log4j.category.org.springframework.web.servlet.mvc.support=DEBUG, stdout
49 log4j.logger.org.springframework.web.servlet.view = WARN
54 log4j.logger.net.sf.json.JSONObject = ERROR
59 log4j.logger.org.hibernate=WARN
61 log4j.logger.org.hibernate.SQL=WARN
62 log4j.logger.org.hibernate.search = ERROR
63 # log JDBC bind parameters
64 log4j.logger.org.hibernate.type=WARN
65 # log schema export/update
66 log4j.logger.org.hibernate.tool.hbm2ddl=WARN
67 # This overcomes the proxy narrow log of hibernate
68 log4j.logger.org.hibernate.engine.StatefulPersistenceContext.ProxyWarnLog=ERROR