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

Log PeerClosedStreamExceptions as warnings instead of errors #360

Merged
merged 1 commit into from
Sep 14, 2024

Conversation

ladinu
Copy link
Contributor

@ladinu ladinu commented Sep 13, 2024

The GrpcExceptionHandler logs PeerClosedStreamException as an error. This is causing log spam in cloud environments where clients abruptly terminate. The exception should be logged as a warning instead.

Copy link
Contributor

@mdedetrich mdedetrich left a comment

Choose a reason for hiding this comment

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

lgtm, reasoning behind this change seems valid. @pjfanning , @He-Pin , @raboof , @Roiocam wdyt?

Copy link
Contributor

@pjfanning pjfanning left a comment

Choose a reason for hiding this comment

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

lgtm

@pjfanning pjfanning merged commit 240bcd2 into apache:main Sep 14, 2024
23 checks passed
@pjfanning
Copy link
Contributor

Merged - thanks @ladinu

@pjfanning pjfanning added this to the v1.1.0 milestone Sep 14, 2024
@ladinu
Copy link
Contributor Author

ladinu commented Sep 14, 2024

Thank you!

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