The AsyncAppender lets users log events asynchronously. It uses a
bounded buffer to store logging events.
The AsyncAppender will collect the events sent to it and then
dispatch them to all the appenders that are attached to it. You can
attach multiple appenders to an AsyncAppender.
The AsyncAppender uses a separate thread to serve the events in
its bounded buffer.
Refer to the results in
org.apache.log4j.performance.Logging
for the impact of using this appender.
Important note: The
AsyncAppender
can only
be script configured using the
org.apache.log4j.xml.DOMConfigurator.
AsyncAppender
can only be script configured using the org.apache.log4j.xml.DOMConfigurator.