NIHVIVO-2865 trim the amount of Solr logging, and direct it to a file in the tomcat/logs directory.
This commit is contained in:
parent
4cc01aa219
commit
0e3d374e25
1 changed files with 12 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue