Use logger from context since new controller runtime populates that properly
baluchicken opened this issue · 0 comments
baluchicken commented
Since Koperator switched to the new controller runtime, it would be nice to use the logger from the context given by the runtime.
As of now we are initialising every logger/controller and lots of functions and methods have logger as their parameter.
We can simplify this by using the logger from the context.
The newly refactored CC Controller already follows this rule so that path should be followed.