-
Notifications
You must be signed in to change notification settings - Fork 125
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
Runtime: change reconcile and parse errors to warns #3691
Runtime: change reconcile and parse errors to warns #3691
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just confirming if these msgs will be available to the user in local mode. Else need to use logger.Named
for some messages like Reconcile failed
and Parser error
?
Confirmed – these are still shown in the console |
* Runtime: Refactor conn cache to contain and detect hanging opens/closes * Extract connection cache to pkg + use a singleflight * Add tests * Runtime: change reconcile and parse errors to warns
* Runtime: Refactor conn cache to contain and detect hanging opens/closes * Extract connection cache to pkg + use a singleflight * Add tests * Runtime: change reconcile and parse errors to warns (cherry picked from commit 50b4e2b)
This PR changes error logs that can occur during normal usage to warning level. Examples of such errors include reconcile errors and revoked Github access.
By emitting these logs at warning level instead of error level, we reserve the error level for internal errors that are worth alerting on.