Re: place of log4j.properties file

2010-09-01 Thread joyce chan
- From: "Smiley, David W." > To: > Cc: "Eric Pugh" > Sent: Friday, March 19, 2010 5:43 PM > Subject: Re: place of log4j.properties file > > > > I believe that should have been > -Dlog4j.configuration=file:/c:/foo/log4j.properties > I've d

Re: place of log4j.properties file

2010-03-19 Thread Király Péter
Thanks David! It works. Even with relative path, like -Dlog4j.configuration=file:etc/log4j.properties. Péter - Original Message - From: "Smiley, David W." To: Cc: "Eric Pugh" Sent: Friday, March 19, 2010 5:43 PM Subject: Re: place of log4j.properties file I

Re: place of log4j.properties file

2010-03-19 Thread Smiley, David W.
I believe that should have been -Dlog4j.configuration=file:/c:/foo/log4j.properties I've done this sort of thing many times before. I've also found it helpful to add -Dlog4j.debug (no value needed) to debug logging. http://logging.apache.org/log4j/1.2/manual.html ~ David Smiley Author: http

place of log4j.properties file

2010-03-19 Thread Király Péter
Hi, on page 205 of the Solr 1.4 Enterprise Search Server book there is an example, of how to reference log4j.properties file from Jetty. I tried that and several other methods (like -Dlog4j.properties=), but the only working way was to put create a WEB-INF/classes directory inside the solr.war