-
Notifications
You must be signed in to change notification settings - Fork 712
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: set logger for controller-runtime #1211
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.
I tested the changes and it works for me. Thanks.
Can we put new code in pkg/server/serve.go instead of cmd/serve/serve.go? |
I would be supportive of that also |
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.
Please move this into the pkg/server/serve.go
Signed-off-by: Xiaodong Ye <yeahdongcn@gmail.com>
Done. @cf250024 @AlexsJones |
Signed-off-by: Xiaodong Ye <yeahdongcn@gmail.com>
Signed-off-by: Xiaodong Ye <yeahdongcn@gmail.com> Signed-off-by: AlexsJones <alexsimonjones@gmail.com>
Closes #1208
π Description
Set logger for controller-runtime.
β Checks
βΉ Additional Information
Testing done:
make docker-build
-> ok[controller-runtime] log.SetLogger(...) was never called; logs will not be displayed.
is no longer present.