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

Remove Helm diffs output for "info" zap log level #5307

Merged
merged 1 commit into from
Oct 14, 2021

Conversation

VenkatRamaraju
Copy link
Contributor

Description of the change:
Increased the verbosity threshold so that reconciliation diffs for Helm is not displayed when zap log level is set to "info."

Motivation for the change:
Close #5278

Notes

  1. The "debug" zap level has a verbosity 1. So if the operator is run with debug level, all logs, including diffs, will be outputted.
  2. The "info" zap level has a verbosity of 0. So if the operator is run with the info level, helm diffs will not be outputted.

@VenkatRamaraju VenkatRamaraju changed the title Not displaying Helm diffs for "info" zap log level Remove Helm diffs output for "info" zap log level Oct 12, 2021
Copy link
Member

@asmacdo asmacdo left a comment

Choose a reason for hiding this comment

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

Please update the commit message to be similar to your description comment. Also, if you include Closes #5278 in the commit message, then that issue will be closed automatically when this PR merges.

# release notes and/or the migration guide
entries:
- description: >
Helm operators will now not display the reconciliaton
Copy link
Member

Choose a reason for hiding this comment

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

This is fine as-is, but in the interest of being as concise and clear as possible, IMO it is best to say what the behavior is, rather than what it is not.

"Helm operator reconciliation diffs are now logged only at the debug level."

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@asmacdo Cool, just did all the above.

…r release diffs

Signed-off-by: Venkat Ramaraju <venky2063@gmail.com>
Copy link
Member

@jmrodri jmrodri left a comment

Choose a reason for hiding this comment

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

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Oct 14, 2021
Copy link
Member

@asmacdo asmacdo left a comment

Choose a reason for hiding this comment

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

/lgtm

Copy link
Member

@rashmigottipati rashmigottipati left a comment

Choose a reason for hiding this comment

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

/lgtm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Helm Operator: Cannot disable verbose logging of reconciled Helm releases
5 participants