On 6/29/07, Chris Hostetter <[EMAIL PROTECTED]> wrote:
: Hi,
:  is there a way to avoid going to the web interface to set up the solr
: log level ?

he web intrface for tweaking the log level is actually a miss-feature in
my opinion ... it's a handy way to quickly crank the logging level up if
something weird is happening nad you want to see why, but the best way to
configre logging for Solr is via whatever configuration mechanism your
Servlet Container provides for managing JDK logging.

Thanks for those informations !
I'm using tomcat 6, does somebody has a snippet of conf file
to set up the log level for all org.apache.solr.* classes ?


Resin, Tomcat, and Jetty all support differnet configuration mechanisms
for controlling the logging level of individual loggers (which is one way
you can say i want INFO level from these classes, but only WARNINGs from
these other classes) ... in the absolute worst case scenerio if your
servlet container doesn't support any special logging configuration, you
can use the JDK system properties to specify a logging.properties file the
JDK should load on startup...

http://java.sun.com/j2se/1.5.0/docs/guide/logging/overview.html


-Hoss


--
Jerome Eteve.
[EMAIL PROTECTED]
http://jerome.eteve.free.fr/

Reply via email to