Log4j Configuration

2019-01-11 Thread deathbycaramel
Hi, I'm running solr v6.6.5 using a pretty generic log4j properties file: # Default Solr log4j config # rootLogger log level may be programmatically overridden by -Dsolr.log.level solr.log=${solr.log.dir} log4j.rootLogger=INFO, file, CONSOLE # Console appender will be programmatically disabled w

Re: log4j configuration reload

2017-04-19 Thread Shawn Heisey
On 4/19/2017 1:27 AM, Vincenzo D'Amore wrote: > I'm investigating around latest version of Solr (6.4.1) if it is possible > reload the log4j.properties configuration file without Solr restart. > > As far as I understood it isn't possible, or at least, it's impossible > without develop an ad hoc com

Re: log4j configuration reload

2017-04-19 Thread Vincenzo D'Amore
An update, I've found this: http://logging.apache.org/log4j/1.2/faq.html#a3.6 *Is there a way to get log4j to automatically reload a configuration file > if it changes?* > > Yes. Both the DOMConfigurator and the PropertyConfigurator support > automatic reloading through the configureAndWatch m

log4j configuration reload

2017-04-19 Thread Vincenzo D'Amore
Hi all, I'm investigating around latest version of Solr (6.4.1) if it is possible reload the log4j.properties configuration file without Solr restart. As far as I understood it isn't possible, or at least, it's impossible without develop an ad hoc component. Do you know if there are workarounds

Re: stucked with log4j configuration

2014-04-13 Thread Shawn Heisey
On 4/13/2014 1:18 PM, Boogie Shafer wrote: > as you discovered, the double logging problem is because additivity is > default enabled and you have solr event defined specifically AND in the root > logger My config has the root logger at WARN, the specific category is at INFO. All of the doubly

RE: stucked with log4j configuration

2014-04-13 Thread Boogie Shafer
is very little technical effort required From: Shawn Heisey Sent: Sunday, April 13, 2014 08:22 To: solr-user@lucene.apache.org Subject: Re: stucked with log4j configuration On 4/12/2014 9:33 PM, Bill Bell wrote: > Well I hope log4j2 is something Sol

Re: stucked with log4j configuration

2014-04-13 Thread Shawn Heisey
On 4/12/2014 9:33 PM, Bill Bell wrote: > Well I hope log4j2 is something Solr supports when GA The biggest holdup would be the fact that slf4j doesn't yet have a binding for log4j2. A new log watcher (for the admin UI) is probably required too. The logback project page looks almost identical to

Re: stucked with log4j configuration

2014-04-12 Thread Bill Bell
Well I hope log4j2 is something Solr supports when GA Bill Bell Sent from mobile > On Apr 12, 2014, at 7:26 AM, Aman Tandon wrote: > > I have upgraded my solr4.2 to solr 4.7.1 but in my logs there is an error > for log4j > > log4j: Could not find resource > > Please find the attachment of th

Re: stucked with log4j configuration

2014-04-12 Thread Jack Krupansky
: Re: stucked with log4j configuration Haha...Yeah i thought its about 17/18 hours of try to integrate solr with tomcat if you don't know about anything. Thanks for these resources let's see what can happen :D On Sat, Apr 12, 2014 at 7:09 PM, Erick Erickson wrote: Have you s

Re: stucked with log4j configuration

2014-04-12 Thread Aman Tandon
Haha...Yeah i thought its about 17/18 hours of try to integrate solr with tomcat if you don't know about anything. Thanks for these resources let's see what can happen :D On Sat, Apr 12, 2014 at 7:09 PM, Erick Erickson wrote: > Have you seen: > https://wiki.apache.org/solr/SolrTomcat#Logging >

Re: stucked with log4j configuration

2014-04-12 Thread Erick Erickson
Have you seen: https://wiki.apache.org/solr/SolrTomcat#Logging and http://tomcat.apache.org/tomcat-6.0-doc/logging.html ? Best, Erick P.S. I don't know much about setting up Tomcat, so that's the best I can do... On Sat, Apr 12, 2014 at 6:26 AM, Aman Tandon wrote: > I have upgraded my solr4.2 to

stucked with log4j configuration

2014-04-12 Thread Aman Tandon
I have upgraded my solr4.2 to solr 4.7.1 but in my logs there is an error for log4j log4j: Could not find resource Please find the attachment of the screenshot of the error console https://drive.google.com/file/d/0B5GzwVkR3aDzdjE1b2tXazdxcGs/edit?usp=sharing -- With Regards Aman Tandon