rschmitt opened a new pull request, #3880:
URL: https://github.com/apache/logging-log4j2/pull/3880

   There are two basic scenarios where the ring buffer fills up. One is that an 
application is simply logging too much and the flushing process can't keep up, 
and in this case a discard threshold of WARN or INFO is probably sufficient to 
mitigate the problem. However, if flushing has stopped making progress 
altogether, e.g. due to a full or failed disk, then logging calls will block 
indefinitely. This can result in a production outage.
   
   This change sets the default discard threshold to ERROR, in order to better 
mitigate the scenario where the disk fills up, fails, or is in the process of 
failing. With this threshold, logging should only block at the FATAL level, 
which would typically mean that the operation is already failing anyway.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@logging.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to