Re: AbstactDatabase appender issue with AsyncLogger

2017-09-29 Thread Tolga Kavukcu
I have created LOG4J2-2060. Thanks. On Thu, Sep 28, 2017 at 6:33 PM, Matt Sicker wrote: > Yes, a jira ticket would be useful, thanks. > > On 28 September 2017 at 09:29, Tolga Kavukcu > wrote: > > > Hi Remko, > > > > If it's a subject of a bug fix, do

Programmatically added loggers lost due to automatic reconfiguration

2017-09-29 Thread Michael Heinen
I use Log4j 2.9.1 with the XML configuration. A monitorInterval is specified in the XML config in order to reconfigure log4j, e.g. for debugging. Besides the XML configuration some loggers and appendes are created dynamically in Java. Problem: The dynamically added loggers and appenders are

Re: Programmatically added loggers lost due to automatic reconfiguration

2017-09-29 Thread Christopher Schultz
Michael, On 9/29/17 8:30 AM, Michael Heinen wrote: > I use Log4j 2.9.1 with the XML configuration. A monitorInterval is > specified in the XML config in order to reconfigure log4j, e.g. for > debugging. > Besides the XML configuration some loggers and appendes are created > dynamically in Java. >

Issue with log4jConfiguration setting

2017-09-29 Thread billok...@gmail.com
Hi, With log4j2 v 2.9.1 (same issue in previous version 2.6), by putting the log4j2.xml file in WEB-INF/classes, log4j will eventually locate that config file as 'file:/' ConfigLocationUri: file:/opt/tomcat/webapps/log4jTest/WEB-INF/classes/log4j2.xml and the config file monitoring