Skip to content
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 #8547

Merged
merged 1 commit into from
Dec 4, 2023
Merged

Commits on Dec 1, 2023

  1. libs:logging: Fix logger

    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>
    jodh-intel committed Dec 1, 2023
    Configuration menu
    Copy the full SHA
    f9f1d3a View commit details
    Browse the repository at this point in the history