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
Consider choosing block strategy for slog-async #3695
Comments
Already fixed in Lines 39 to 62 in d046fae
|
Block strategy only appiles to |
Ah, of course! |
Why not remove redudant logs? For example, |
@hicqu We don't ever want to drop logs (this is a bug). Removing redundant logs is a feature request, and can have it's own issue. :) |
Question
There are lot of
slog-async: logger dropped messages due to channel overflow, count: 7
in tikv's log file. Thecount: 7
means 7 logs have been drop due to slogger channel full. There is no way to recover dropped logs, which is not helpful for debugging. The behaviour is controlled byslog_async::OverflowStrategy
. Instead ofOverflowStrategy::DropAndReport
(current strategy), please consider choosingOverflowStrategy::Block
, so tikv prints all logs.The text was updated successfully, but these errors were encountered: