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

feat: don't log broken pipe error on server by default #548

Merged
merged 3 commits into from
Feb 17, 2025

Conversation

PureWhiteWu
Copy link
Member

Motivation

There are too many Broken Pipe errors when upstream(client) timeout, and the logs are mostly useless for users.

Solution

This PR disables the log by default, and can be opt-in by setting VOLO_ENABLE_REMOTE_CLOSED_ERROR_LOG env.

@PureWhiteWu PureWhiteWu added A-volo This issue concerns the main`volo` crate. A-volo-thrift The issue concerns the `volo-thrift` crate. C-enhancement This is a PR that adds a new feature or fixes a bug. labels Feb 17, 2025
@PureWhiteWu PureWhiteWu self-assigned this Feb 17, 2025
@PureWhiteWu PureWhiteWu requested review from a team as code owners February 17, 2025 10:57
@PureWhiteWu PureWhiteWu merged commit 0b5d6be into main Feb 17, 2025
18 checks passed
@PureWhiteWu PureWhiteWu deleted the feat/dont_log_broken_pipe branch February 17, 2025 13:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-volo This issue concerns the main`volo` crate. A-volo-thrift The issue concerns the `volo-thrift` crate. C-enhancement This is a PR that adds a new feature or fixes a bug.
Development

Successfully merging this pull request may close these issues.

2 participants