Merging log4j2 contexts

2014-03-29 Thread James Hutton
I'm looking to leverage log4j2 in a spring application that uses spring profiles heavily. I know in log4j1.2 we could use the DOMConfigurator to parse an additional xml and merge it into the context. James

Re: Running disruptor async performance tests

2014-03-29 Thread Remko Popma
When you run PerfTest with these options below you get the same as the first test run by PerfTestDriver "Log4j2: Loggers all async (single thread) ": -Dlog4j.configurationFile=perf3PlainNoLoc.xml -DLog4jContextSelector=org.apache.logging.log4j.core.async. AsyncLoggerContextSelector PerfTestDriver

Re: Running disruptor async performance tests

2014-03-29 Thread Rebecca Ahlvarsson
Thank you very much, Remko. So I ran both tests on my machine and got the numbers below. I am interested in the latency numbers and throughput when we have one (i.e. threadCount 1 ?) asynchronous logger thread using disruptor. Can you point me out to these numbers on my results below? Not sure what

Re: Running disruptor async performance tests

2014-03-29 Thread Remko Popma
Hi Becky, The performance test code is a bit messy. Apologies for that. To answer your questions: I used the longer message for throughput tests, and the shorter message for latency tests. PerfTest parameters: [0] = runner class (like org.apache.logging.log4j.core. async.perftest.RunLog4j2) [1] =