lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <hossman_luc...@fucit.org>
Subject Re: logging off
Date Sun, 04 Mar 2007 05:37:12 GMT

: Hi Brian, all you have to do is create a logging.properties file and
: call this before starting up solr:
:
: System.setProperty("java.util.logging.config.file", home+"/conf/
: logging.properties");

it's not neccessary to execute any javacode to configurate
java.util.logging ... that property can be set on the commandline before
executing java.

: And that will disable console logging. For jetty logging, you need to
: create a custom Log class that looks like this

i'm no jetty expert, but this should also be controllable via jetty
configs, without writting any custom code .. greping the xml files in the
example/etc for "log" should turn up a lot of pointers ... much of what is
there is commented out by default -- and i believe that's why it goes to
STDOUT instead of specific files.


-Hoss


Mime
View raw message