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

Reduce log verbosity for the gc service #1392

Conversation

lburgazzoli
Copy link
Contributor

@lburgazzoli lburgazzoli commented Nov 26, 2024

If the GC service is not authorixed to list some particular types, it
emits a message "cannot list resource" that may be misleading as it does
not impact the behavior of the GC service. This commit set the log
verbosity to 3 so it is not shown by default, but can be enabled
eventually for troubleshooting

Description

How Has This Been Tested?

Screenshot or short clip

Merge criteria

  • You have read the contributors guide.
  • Commit messages are meaningful - have a clear and concise summary and detailed explanation of what was changed and why.
  • Pull Request contains a description of the solution, a link to the JIRA issue, and to any dependent or related Pull Request.
  • Testing instructions have been added in the PR body (for PRs involving changes that are not immediately obvious).
  • The developer has manually tested the changes and verified that the changes work

If the GC service is not authorixed to list some particular types, it
emits a message "cannot list resource" that may be misleading as it does
not impact the behavior of the GC service. This commit set the log
verbosity to 3 so it is not shown by default, but can be enabled
eventually for troubleshooting
@lburgazzoli
Copy link
Contributor Author

Relates to #1391

Copy link

openshift-ci bot commented Nov 26, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: zdtsw

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Copy link

codecov bot commented Nov 26, 2024

Codecov Report

Attention: Patch coverage is 0% with 1 line in your changes missing coverage. Please review.

Please upload report for BASE (feature-operator-refactor@d748e02). Learn more about missing BASE report.

Files with missing lines Patch % Lines
pkg/services/gc/gc.go 0.00% 1 Missing ⚠️
Additional details and impacted files
@@                     Coverage Diff                      @@
##             feature-operator-refactor    #1392   +/-   ##
============================================================
  Coverage                             ?   26.85%           
============================================================
  Files                                ?       60           
  Lines                                ?     4782           
  Branches                             ?        0           
============================================================
  Hits                                 ?     1284           
  Misses                               ?     3349           
  Partials                             ?      149           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@openshift-merge-bot openshift-merge-bot bot merged commit 89bf20a into opendatahub-io:feature-operator-refactor Nov 26, 2024
10 checks passed
@lburgazzoli lburgazzoli deleted the gc-warn branch November 26, 2024 14:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants