Hi Sorry to reopen this thread. Do you guys know how to use log4jdbc in solr?
Thanks JC 2010/3/19 Király Péter <pkir...@tesuji.eu> > Thanks David! > > It works. Even with relative path, like > -Dlog4j.configuration=file:etc/log4j.properties. > > Péter > > ----- Original Message ----- From: "Smiley, David W." <dsmi...@mitre.org> > To: <solr-user@lucene.apache.org> > Cc: "Eric Pugh" <ep...@opensourceconnections.com> > 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 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://www.packtpub.com/solr-1-4-enterprise-search-server/ > > On Mar 19, 2010, at 12:27 PM, Király Péter wrote: > > 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=<path to file>), but the only working way >> was to put create a WEB-INF/classes directory inside the solr.war, and put >> the file there (tip I found in the list's archive). >> >> Is it possible, that there is no other way? >> >> Thanks, >> Péter >> >> > > > > >