https://projects.ecoinformatics.org/ecoinfo/https://projects.ecoinformatics.org/ecoinfo/ecoinfo/favicon.ico?14691340362013-10-17T20:43:07ZEcoinformatics RedmineMetacat - Bug #6157: Couldn't control the log level in solrhttps://projects.ecoinformatics.org/ecoinfo/issues/6157?journal_id=209362013-10-17T20:43:07ZJing Taotao@nceas.ucsb.edu
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Resolved</i></li></ul><p>It turned out that the solr-core.jar and other solr jar files are using the slf4j logging mechanism. It comes with two jar files by default: slf4j-api-1.6.1.jar and slf4j-jdk4-1.6.1.jar. When we used slf4j-log4j12-1.6.1.jar to replace slf4j-jdk4-1.6.1.jar, it can be controlled by log4j.properties.</p>
<p>Now our metacat current log4j.properties can control the log level.</p>
<p>The log4j.properties in metacat-index/WEB-INF/classes can control the log level in metacat-index.</p>
<p>Their default values are ERROR now.</p>