8000 Cleanup error messages in log by fosterseth · Pull Request #513 · ansible/receptor · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Cleanup error messages in log #513

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

Merged
merged 1 commit into from
Jan 19, 2022

Conversation

fosterseth
Copy link
Member

related #510

cleaned up some excessive error messages that would occur even under normal and expected situations.

CloseConnection() in conn.go returns an Error message (the normal way to close a quic connection is via a CloseWithError, see quic-go/quic-go#3270). Therefore, we should check to see if Write or Read attempts on a closed connection returns this normal error, and only log a message if it is not normal.

Also moved some of the more repetitive log messages from Info to Debug.

@fosterseth fosterseth requested a review from shanemcd January 5, 2022 23:36
- Suppress errors related to Normal close of quic connections
- Change a few Info level messages to Debug, to reduce repetitive
  messages
@fosterseth fosterseth force-pushed the cleanup_errors_in_log branch from 0d11912 to b391082 Compare January 19, 2022 16:56
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.

4 participants
0