[ENHANCE] Set log level
fullykubed opened this issue · comments
Is your feature request related to a problem? Please describe.
I'd like to reduce the amount of logs this controller generates by setting the log level. Only logs at this level or higher in severity would be printed. For example, if the level is set to warning
, info
logs would not be generated but fatal
logs would be.
Describe the solution you'd like
A command line argument for the log level (e..g, --log-level=warning
or --log-level=info
).
Describe alternatives you've considered
There is currently no alternative to preventing the reloader from generating certain levels of logs.
hi @fullykubed feel free to submit a PR for this issue