Some appenders such as {@link org.apache.log4j.net.SocketAppender}and {@link AsyncAppender} need to be closed before theapplication exists. Otherwise, pending logging events might be lost.
The shutdown
method is careful to close nested appenders before closing regular appenders. This is allows configurations where a regular appender is attached to a logger and again to a nested appender.
@since 1.0
|
|
|
|