Hi all,

Wondering if anyone can point me at a simple way to specify basic
logging options (log level, log file location) when starting the Solr
example jar from the command line.

As a bit of background, I maintain a Ruby library for Solr called
Sunspot that ships with a Solr installation for ease of use. Sunspot
includes a script for starting Solr with various options, including
logging options. With Solr 1.3, I was able to write out a
logging.properties file and then set the system property
java.util.logging.config.file via the command line; this no longer
seems to work with Solr 1.4.

I understand that Solr 1.4 has moved to SLF4J, but I haven't been able
to find a readily available answer to the above question in the SLF4J
or Solr logging documentation. To be honest, I've always found logging
in Java rather mystifying.

Any help much appreciated!
Mat

Reply via email to