Re: Sharing common log4j2 configuration

2016-06-29 Thread Benjamin Jaton
That is great! I had to update my custom ConfigurationFactory to create those CompositeConfiguration but once I did it seems to work well, thanks! On Wed, Jun 29, 2016 at 4:01 PM, Ralph Goers wrote: > Log4j 2.6.1 supports composite configurations. See > http://logging.apache.org/log4j/2.x/manua

Re: Sharing common log4j2 configuration

2016-06-29 Thread Ralph Goers
Log4j 2.6.1 supports composite configurations. See http://logging.apache.org/log4j/2.x/manual/configuration.html#CompositeConfiguration. Ralph > On Jun 29, 2016, at 3:00 PM, Benjamin Jaton wrote: > > Hello again, > > Is there a way to define a set appenders/logger/props and use them in > sev

Sharing common log4j2 configuration

2016-06-29 Thread Benjamin Jaton
Hello again, Is there a way to define a set appenders/logger/props and use them in several log4j2 configuration files? Like: I define sub-conf C Then I create conf A that "imports" C, and conf B that "imports" C as well. I know about x:include (https://issues.apache.org/jira/browse/LOG4J2-341),

Why is AsyncLogger#shutdown time not configurable?

2016-06-29 Thread David Leonhartsberger
I was just looking at the AsyncLoggerDistruptor#stop() and figured out that the shutdown time is not configurable and it even could be blocking forever waiting that the Disruptor backlog has been processed. // Calling Disruptor.shutdown() will wait until all enqueued events are fully processed, /