logback
logback copied to clipboard
Allow reporting of logging loss in AsyncAppenderBase
Made AsyncAppenderBase.isQueueBelowDiscardingThreshold public to facilitate reporting loss of log events in a health check.
For example, with this change one could now call isQueueBelowDiscardingThreshold from a dropwizard metrics health-check.
The failing travis build has no relation whatsoever with this PR.
BTW, a more serious solution is to have a public counter with the number of dropped messages.
I encountered the same problem today, and created https://jira.qos.ch/browse/LOGBACK-1436 to track it.