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

Make DelegatingAsyncDisruptorAppender more resilient to exceptions + flush Flushable appenders at end of batch #457

Merged
merged 3 commits into from
Dec 30, 2020

Conversation

brenuart
Copy link
Collaborator

@brenuart brenuart commented Dec 29, 2020

This PR addresses the following issues:

…rown by child appenders

- Wrap calls to appenders within a try/catch block and make sure exceptions thrown by one does not prevent other appenders from receiving the event (gh456).
- Flush appenders at end of batch only if they are started (gh456).
- OutputStreamAppender may occasionally return a null OutputStream (gh455)
- Flush appenders implementing java.io.Flushable (gh454)
Copy link
Collaborator

@philsttr philsttr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! Love the unit tests.

I just had one minor comment regarding spaces v tabs, but other than that it's perfect.

@philsttr philsttr merged commit ede18db into logfellow:master Dec 30, 2020
@brenuart
Copy link
Collaborator Author

Should I close the three related issues or do you prefer to do it yourself after adding the relevant entries in the change log ?

@philsttr
Copy link
Collaborator

I just closed them. Thanks for the PR!

@philsttr philsttr added this to the 6.6 milestone Dec 30, 2020
@brenuart brenuart deleted the gh454 branch January 5, 2021 15:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants