logback icon indicating copy to clipboard operation
logback copied to clipboard

Allow reporting of logging loss in AsyncAppenderBase

Open erikvanoosten opened this issue 9 years ago • 3 comments

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.

erikvanoosten avatar Jun 02 '16 13:06 erikvanoosten

The failing travis build has no relation whatsoever with this PR.

erikvanoosten avatar Jun 02 '16 14:06 erikvanoosten

BTW, a more serious solution is to have a public counter with the number of dropped messages.

erikvanoosten avatar Jun 03 '16 14:06 erikvanoosten

I encountered the same problem today, and created https://jira.qos.ch/browse/LOGBACK-1436 to track it.

rtyley avatar Nov 14 '18 12:11 rtyley