-
Notifications
You must be signed in to change notification settings - Fork 997
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
libs: logging: Fix logger #8546
Labels
area/logging
Logging
bug
Incorrect behaviour
highest-priority
Critically urgent issue (must be resolved as soon as possible)
rust
Pull requests that update Rust code
Projects
Comments
jodh-intel
added
bug
Incorrect behaviour
highest-priority
Critically urgent issue (must be resolved as soon as possible)
area/logging
Logging
rust
Pull requests that update Rust code
labels
Dec 1, 2023
jodh-intel
added a commit
to jodh-intel/kata-containers
that referenced
this issue
Dec 1, 2023
PR kata-containers#8311 inadvertently broke the logging since no log messages below the `Info` level are logged now, regardless of the requested log level. Resolve the issue by storing the requested log level in the `RuntimeComponentLevelFilter` and using that level in the `log()` function, rather than hard-coding `Info` as the default where no entry is found in the `FILTER_RULE` hashmap. Fixes: kata-containers#8546. Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
sprt
pushed a commit
to microsoft/kata-containers
that referenced
this issue
Dec 20, 2023
PR kata-containers#8311 inadvertently broke the logging since no log messages below the `Info` level are logged now, regardless of the requested log level. Resolve the issue by storing the requested log level in the `RuntimeComponentLevelFilter` and using that level in the `log()` function, rather than hard-coding `Info` as the default where no entry is found in the `FILTER_RULE` hashmap. Fixes: kata-containers#8546. Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
sprt
pushed a commit
to microsoft/kata-containers
that referenced
this issue
Dec 20, 2023
PR kata-containers#8311 inadvertently broke the logging since no log messages below the `Info` level are logged now, regardless of the requested log level. Resolve the issue by storing the requested log level in the `RuntimeComponentLevelFilter` and using that level in the `log()` function, rather than hard-coding `Info` as the default where no entry is found in the `FILTER_RULE` hashmap. Fixes: kata-containers#8546. Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
sprt
pushed a commit
to microsoft/kata-containers
that referenced
this issue
Dec 20, 2023
PR kata-containers#8311 inadvertently broke the logging since no log messages below the `Info` level are logged now, regardless of the requested log level. Resolve the issue by storing the requested log level in the `RuntimeComponentLevelFilter` and using that level in the `log()` function, rather than hard-coding `Info` as the default where no entry is found in the `FILTER_RULE` hashmap. Fixes: kata-containers#8546. Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
sprt
pushed a commit
to microsoft/kata-containers
that referenced
this issue
Dec 20, 2023
PR kata-containers#8311 inadvertently broke the logging since no log messages below the `Info` level are logged now, regardless of the requested log level. Resolve the issue by storing the requested log level in the `RuntimeComponentLevelFilter` and using that level in the `log()` function, rather than hard-coding `Info` as the default where no entry is found in the `FILTER_RULE` hashmap. Fixes: kata-containers#8546. Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area/logging
Logging
bug
Incorrect behaviour
highest-priority
Critically urgent issue (must be resolved as soon as possible)
rust
Pull requests that update Rust code
It appears that #8311 inadvertently broke the logging: with that PR, no messages below
Info
are logged.The text was updated successfully, but these errors were encountered: