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

fix: no more "log.SetLogger(...) was never called..." log entry during shutdown #4738

Merged
merged 1 commit into from
Sep 27, 2023

Conversation

programmer04
Copy link
Member

What this PR does / why we need it:

Getting rid of the message that complains about a missing call to SetLogger() when KIC is killed or shutdown.

Which issue this PR fixes:

Closes #4736

Special notes for your reviewer:

Unfortunately, controller-runtime expects it to be called always, it was spotted in tests, and the fix was provided

but only in the test helper. Now it is in both places. Efforts relating to streamlining logging in KIC may help us with having all the configurations in one place.

PR Readiness Checklist:

Complete these before marking the PR as ready to review:

  • the CHANGELOG.md release notes have been updated to reflect any significant (and particularly user-facing) changes introduced by this PR

@programmer04 programmer04 enabled auto-merge (squash) September 27, 2023 12:34
@programmer04 programmer04 merged commit aae3423 into main Sep 27, 2023
56 checks passed
@programmer04 programmer04 deleted the fix-logs branch September 27, 2023 12:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

When KIC 2.12 is deployed in cluster, it complains about missing call to SetLogger() when killed/shutdown
2 participants