x/pkgsite: support to set minimum log level #40339
Right now there isn't a proper way to disable a log level.
For example, if you want to disable the
I feel there should be better way to setup the minimum log level below which, no logs should be printed.
If allowed, I would like to work on the implementation.
The text was updated successfully, but these errors were encountered:
Like other configs, I think we should use
We should go with default log level as
Is approach (1) acceptable?
Other way i can think of is to take the log level as command line arg. But I am not sure this would be good approach in this context.
I'm okay with this idea. Namely: