Actions
Bug #6157
closedCouldn't control the log level in solr
Start date:
10/17/2013
Due date:
% Done:
0%
Estimated time:
Bugzilla-Id:
Description
Our current log control didn't work with the log from solr. It has the default value - INFO. The log message was very big.
Updated by Jing Tao about 11 years ago
- Status changed from New to Resolved
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.
Now our metacat current log4j.properties can control the log level.
The log4j.properties in metacat-index/WEB-INF/classes can control the log level in metacat-index.
Their default values are ERROR now.
Actions