+#\r
+#\r
+# If you are having problems with logging you may debug Log4J initialization, \r
+# start the application with a system property log4j.configDebug set to "true". \r
+# E.g.:\r
+#\r
+# java -Dlog4j.configDebug=true\r
+#\r
+\r
log4j.rootLogger=WARN, stdout\r
\r
\r
log4j.appender.logfile=org.apache.log4j.RollingFileAppender\r
log4j.appender.logfile.File=cdmlib-remote.log\r
log4j.appender.logfile.MaxFileSize=512KB\r
-# Keep three backup files.\r
+# Keep three backup files.\r
log4j.appender.logfile.MaxBackupIndex=3\r
-# Pattern to output: date priority [category] - message\r
+# Pattern to output: date priority [category] - message\r
log4j.appender.logfile.layout=org.apache.log4j.PatternLayout\r
log4j.appender.logfile.layout.ConversionPattern=%d %p [%c] - %m%n\r
\r
\r
+###\r
+# cdm\r
+###\r
+log4j.logger.eu.etaxonomy.cdm = INFO\r
+# avoid vast amount of "getCitation not yet implemented" & "getProblems not yet implemented" messages\r
+log4j.logger.eu.etaxonomy.cdm.model.name.TaxonNameBase = ERROR\r
+log4j.logger.eu.etaxonomy.cdm.database.UpdatableRoutingDataSource = INFO\r
+log4j.logger.eu.etaxonomy.cdm.persistence.dao.AbstractBeanInitializer = ERROR\r
+log4j.logger.eu.etaxonomy.cdm.remote.controller = WARN\r
+#log4j.logger.eu.etaxonomy.cdm.remote.json.processor.AbstractCdmBeanProcessor = DEBUG\r
+log4j.logger.eu.etaxonomy.cdm.remote.controller = INFO\r
+log4j.logger.eu.etaxonomy.cdm.remote.controller.interceptor = WARN\r
+# prevent CdmExceptionResolver from logging errors\r
+log4j.logger.eu.etaxonomy.cdm.remote.exception.CdmExceptionResolver = ERROR\r
\r
-log4j.category.org.springframework.web.servlet.mvc.support=DEBUG, stdout\r
-log4j.logger.eu.etaxonomy.cdm = info \r
-log4j.logger.org.hibernate=warn\r
+###\r
+# springframework\r
+### \r
log4j.logger.org.springframework = warn\r
-### log just the SQL\r
-log4j.logger.org.hibernate.SQL=DEBUG\r
-\r
-### log JDBC bind parameters ###\r
-log4j.logger.org.hibernate.type=warn\r
+log4j.logger.org.springframework.web.servlet.DispatcherServlet = WARN\r
+log4j.logger.org.springframework.web.servlet.mvc.annotation = WARN\r
+#log4j.category.org.springframework.web.servlet.mvc.support=DEBUG, stdout\r
+log4j.logger.org.springframework.web.servlet.view = WARN\r
\r
-### log schema export/update ###\r
-log4j.logger.org.hibernate.tool.hbm2ddl=warn\r
+###\r
+# json-lib\r
+### \r
+log4j.logger.net.sf.json.JSONObject = ERROR\r
\r
-### log json-lib ###\r
-log4j.logger.net.sf.json = info\r
+###\r
+# Hibernate\r
+###\r
+log4j.logger.org.hibernate=WARN\r
+# log just the SQL\r
+log4j.logger.org.hibernate.SQL=WARN\r
+log4j.logger.org.hibernate.search = ERROR\r
+# log JDBC bind parameters\r
+log4j.logger.org.hibernate.type=WARN\r
+# log schema export/update\r
+log4j.logger.org.hibernate.tool.hbm2ddl=WARN\r
+# This overcomes the proxy narrow log of hibernate\r
+log4j.logger.org.hibernate.engine.StatefulPersistenceContext.ProxyWarnLog=ERROR\r