NIHVIVO-2865 trim the amount of Solr logging, and direct it to a file in the tomcat/logs directory.

This commit is contained in:
j2blake 2011-07-13 21:55:16 +00:00
parent 4cc01aa219
commit 0e3d374e25

View file

@ -1,5 +1,7 @@
############################################################
# logging parameters for Solr
# see http://tomcat.apache.org/tomcat-6.0-doc/logging.html#Using_java.util.logging_%28default%29
############################################################
handlers = org.apache.juli.FileHandler
@ -12,3 +14,13 @@ org.apache.juli.FileHandler.level = INFO
org.apache.juli.FileHandler.directory = ${catalina.base}/logs
org.apache.juli.FileHandler.prefix = solr.
org.apache.juli.FileHandler.formatter = java.util.logging.SimpleFormatter
############################################################
# Special handling for classes that need to be less chatty
# than the overall level.
############################################################
# Make all of the Solr classes quieter...
org.apache.solr.level = WARNING
# ...except for this one.
org.apache.solr.core.SolrResourceLoader.level = INFO