Couldn't control the log level in solr
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 10 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.