Thank you Ahmet. This worked perfectly.
O. O.

----- Messaggio originale -----
Da: Ahmet Arslan <iori...@yahoo.com>
A: solr-user@lucene.apache.org; O. Olson <olson_...@yahoo.it>
Cc: 
Inviato: Lunedì 21 Gennaio 2013 15:44
Oggetto: Re: Enable Logging in the Example App

Hi Olson,

java -Djava.util.logging.config.file=etc/logging.properties -jar start.jar
should do the trick. There is an information about this in README.txt


--- On Mon, 1/21/13, O. Olson <olson_...@yahoo.it> wrote:

> From: O. Olson <olson_...@yahoo.it>
> Subject: Enable Logging in the Example App
> To: "solr-user@lucene.apache.org" <solr-user@lucene.apache.org>
> Date: Monday, January 21, 2013, 6:02 PM
> Hi,
>  
>             I am really
> new to Solr, and I have never used anything similar to it
> before. So please
> pardon my ignorance. I downloaded  Solr
> 4.0 from http://lucene.apache.org/solr/downloads.html and start
> it using the commandline: 
>  
> >java -jar start.jar  
>  
> This generates a number of INFO log messages to the
> console,
> that I would like to better view. 
>  
>             What is the
> best way to send these log messages to a file? I see a logs
> directory, but it
> seems to be empty. I first tried to add the log4j.properties
> in the “etc”
> directory as mentioned in http://wiki.apache.org/solr/SolrLogging.
> I then started solr on the commandline: 
>  
> >java -jar start.jar
> -Dlog4j.configuration=file:etc/log4j.properties
>  
> This does not give me any log files. I would appreciate any
> ideas in this regard i.e. the easiest way to get logging
> into the example app.
>  
> Thank you,
> O. O.
>

Reply via email to