I'm investigating what the consequences will be of changing some of our high 
volume logging calls to use an AsyncAppender instead of a synchronous appender. 
 Our services run in a k8s container, so they are ultimately writing to stdout, 
although other processes are aggregating that log output to Splunk or ELK.

I understand the basic idea of what the AsyncAppender will do, but I have some 
questions about the impact of some property settings which I cannot find 
details about in the documentation.

I'm mostly interested in the "queueSize" and "includeCallerData" properties. 

Concerning "queueSize", I know it is the limit to the size of the input queue, 
but how exactly is that parameter utilized?  Is any memory allocated based on 
that queue size at startup, or is it simply the limit of a dynamically 
expanding list?  The default queue size is apparently 256.  A team in our 
organization is planning to set this to a very large number, like 100000.  
Obviously, there would be considerable impact if the queue really reached that 
size, and I understand that.

Concerning "includeCallerData", I understand this even less.  How is this 
"caller data" used?  What does it really represent? What is the impact of this 
being included or not included?  I tried running tests with one service with 
the main high volume appender being set to use the sync appender, and then the 
async appender.  I didn't really notice any changes in the output.
_______________________________________________
logback-user mailing list
logback-user@qos.ch
http://mailman.qos.ch/mailman/listinfo/logback-user

Reply via email to