Yes by default the application thread will block until a slot becomes available in the queue.
Yes this is configurable: see https://github.com/apache/logging-log4j2/blob/master/log4j-core/src/main/java/org/apache/logging/log4j/core/async/AsyncQueueFullPolicyFactory.java (Shameless plug) Every java main() method deserves http://picocli.info > On Dec 20, 2017, at 2:03, Fröstl, Christian <christian.froe...@accenture.com> > wrote: > > Hi, > > I currently don’t find any documentation regarding the fallback methods of > the log4j2 async logger. > What happens when the AsyncLogger.RingBufferSize is too small to log all > entries from a burst? Will the application fall back into sync logging and > slow down the application or will the new messages be dropped? > Is this a configurable behaviour? > > Kind regards, > Christian > > > ________________________________ > > This message is for the designated recipient only and may contain privileged, > proprietary, or otherwise private information. If you have received it in > error, please notify the sender immediately and delete the original. Any > other use of the email by you is prohibited.