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