Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow reporting of logging loss in AsyncAppenderBase #325

Merged
merged 1 commit into from
Aug 14, 2024

Conversation

erikvanoosten
Copy link
Contributor

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.

…cilitate reporting loss of log events in a health check.
@erikvanoosten
Copy link
Contributor Author

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

@erikvanoosten
Copy link
Contributor Author

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

@rtyley
Copy link

rtyley commented Nov 14, 2018

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

@ceki ceki merged commit 94b67db into qos-ch:master Aug 14, 2024
@ceki ceki self-assigned this Aug 14, 2024
@ceki ceki added the DONE label Aug 14, 2024
@ceki ceki added this to the 1.5.7 milestone Aug 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants