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

Hide error logs when peer shut's down for us #1144

Merged
merged 2 commits into from
Jun 14, 2024

Conversation

howardjohn
Copy link
Member

See istio/istio#51586 for a real world
example

@howardjohn howardjohn requested a review from a team as a code owner June 14, 2024 20:04
@howardjohn howardjohn added release-notes-none Indicates a PR that does not require release notes. cherrypick/release-1.22 Set this label on a PR to auto-merge it to the release-1.22 branch labels Jun 14, 2024
@istio-testing istio-testing added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Jun 14, 2024
@jsievenpiper
Copy link

Thank you!

if e.kind() == io::ErrorKind::NotConnected
|| e.kind() == io::ErrorKind::UnexpectedEof =>
{
Ok(())
Copy link
Contributor

Choose a reason for hiding this comment

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

Would we still get a trace in this case? Should probably still be able to see this is being ignored @ trace level.

Copy link
Member Author

Choose a reason for hiding this comment

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

good idea; done

@istio-testing istio-testing merged commit 4197950 into istio:master Jun 14, 2024
3 checks passed
@istio-testing
Copy link
Contributor

In response to a cherrypick label: new pull request created: #1149

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cherrypick/release-1.22 Set this label on a PR to auto-merge it to the release-1.22 branch release-notes-none Indicates a PR that does not require release notes. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants