Skip to content

Conversation

@kryvashek
Copy link

We have encountered a situation when the inner task of async drain had been killed with a panic due to lack of free space on the device. It would be great to see some useful infromation about this case when it happens and have the thread stopped more gracefully. Changes provided within this PR are intended to help with described issues.

eprintln is used to output information about encountered errors since the intended way of logging obviously doesn't work correctly in related cases.

@dpc
Copy link
Contributor

dpc commented Jun 16, 2023

Seems reasonable.

@kryvashek
Copy link
Author

@dpc Hope so.

Should I take any other action with this PR?

@dpc
Copy link
Contributor

dpc commented Jun 19, 2023

Ping @Techcable

@kryvashek
Copy link
Author

@Techcable, hello!

Sorry for disturbing. Could you please review this PR? I've already sent you email about it.

@Techcable
Copy link
Member

@Techcable, hello!

Sorry for disturbing. Could you please review this PR? I've already sent you email about it.

I am so sorry about the slow response. Unfortunately, I was having some trouble with school which made it tough to review PRs.

I will merge this right away now :)

@Techcable Techcable merged commit 0db0728 into slog-rs:master Aug 26, 2023
@kryvashek
Copy link
Author

I will merge this right away now :)

Thank you very much! (=

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.

3 participants