Bug report
I spotted that we do not properly interpret the level of the --log-options, therefore we cannot really update the logging level. At first sight, I believe the culprit resides in here:
|
setLogLevelFromOptions(logOptions) |
This variable does not seem to be updated at any point.
I will work on a PR to sort this issue out and make the logging level interface easier to use.
General Information
- Cilium version:
v1.9.4 - though it probably impacts much lower versions too
How to reproduce the issue
- Attempt to start the agent with
--log-options='{"level":"error"}'
Bug report
I spotted that we do not properly interpret the
levelof the--log-options, therefore we cannot really update the logging level. At first sight, I believe the culprit resides in here:cilium/pkg/logging/logging.go
Line 296 in f740f55
This variable does not seem to be updated at any point.
I will work on a PR to sort this issue out and make the logging level interface easier to use.
General Information
v1.9.4- though it probably impacts much lower versions tooHow to reproduce the issue
--log-options='{"level":"error"}'