solrj.embedded.JettySolrRunner and logging to file instead of STDERR

2008-06-19 Thread Daniel Rosher
Hi,

I've modified a copy of
./src/test/org/apache/solr/TestDistributedSearch.java for my own build
process. I can compile fine but running the test always logs to STDERR

INFO:  Logging to STDERR via org.mortbay.log.StdErrLog

This method appears deprecated?

//public JettySolrRunner( String context, String home, String dataDir, int
port, boolean log )

How can I log to a file instead of STDERR

Many thanks,
Dan


Re: solrj.embedded.JettySolrRunner and logging to file instead of STDERR

2008-06-19 Thread Lucas F. A. Teixeira

Solr uses JDK logging system, Configuring this will make you happy.

[]s,

LUcas


Lucas Frare A. Teixeira
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
Tel: +55 11 3660.1622 - R3018



Daniel Rosher escreveu:

Hi,

I've modified a copy of
./src/test/org/apache/solr/TestDistributedSearch.java for my own build
process. I can compile fine but running the test always logs to STDERR

INFO:  Logging to STDERR via org.mortbay.log.StdErrLog

This method appears deprecated?

//public JettySolrRunner( String context, String home, String dataDir, int
port, boolean log )

How can I log to a file instead of STDERR

Many thanks,
Dan