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: Controller-runtime Logger Fails to Initialize #1935

Merged

Conversation

Hacks4Snacks
Copy link
Contributor

Description

Initialize logging early in the main() function to ensure logger is configured before any other part of the code tries to log messages, including any package-level variables or init() functions that might trigger logging.

Related issues

Checklist

@CLAassistant
Copy link

CLAassistant commented Mar 24, 2024

CLA assistant check
All committers have signed the CLA.

@Hacks4Snacks Hacks4Snacks changed the title [Bug] Controller-runtime Logger Fails to Initialize fix: Controller-runtime Logger Fails to Initialize Mar 24, 2024
@github-actions github-actions bot added the bug label Mar 24, 2024
@Hacks4Snacks Hacks4Snacks marked this pull request as ready for review March 24, 2024 15:37
Copy link
Collaborator

@chen-keinan chen-keinan left a comment

Choose a reason for hiding this comment

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

@Hacks4Snacks lgtm 🚀 thanks for the contributions

@chen-keinan chen-keinan merged commit 1dc8c4c into aquasecurity:main Mar 27, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug] Controller-runtime Logger Fails to Initialize
3 participants