Confused: want low latency: do I need BOTH async logger AND async appender??

2013-07-23 Thread SMITH, CURTIS
http://logging.apache.org/log4j/2.x/manual/async.html This URL describes that v2 has both async logger and async appender. What is the suggested config for an embedded situation where I want low latency, nothing fancy? I've had do this in code since we don't own the cmd line: OSGi and

Re: Confused: want low latency: do I need BOTH async logger AND async appender??

2013-07-23 Thread Remko Popma
Curt, Without knowing your app env characteristics, I'd say that looks fine. The ring buffer won't grow, so if you get bursts larger than 128 log events you will see latency going up as logging will become IO bound when the ring buffer is full. Otherwise all seems reasonable. Let me know