Mark Miller schrieb:
Kraus, Ralf | pixelhouse GmbH wrote:
Hi,
is there a way to disable all logging output in SOLR ?
I mean the output text like :
"INFO: [core_de] webapp=/solr path=/update params={wt=json} status=0
QTime=3736"
greets -Ralf-
You probably do not want to totally disable logging in Solr. More
likely, your looking to make Solr less chatty by not logging the INFO
level. Solr is a bit chatty by default, mostly I think, because that
can be very useful and is often worth the likely very small
performance hit of all the extra logging. At the least though, I think
you want to leave Severe/Error logging on in most cases, and possibly
WARN.
Its easy enough to change the logging levels though. Solr 1.3 uses
java.util.logging and Solr 1.4 uses SLF4J defaulting to
java.util.logging.
So you can either change the system level properties file in your JDK
folder, or you can use a param at startup:
|-Djava.util.logging.config.file=/path/to/my/logging.properties
Thats exactly the way I choose yesterday ;-)
Thx
Greets -Ralf-