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

Switch to per-module loggers #109

Merged
merged 2 commits into from
Sep 18, 2024
Merged

Switch to per-module loggers #109

merged 2 commits into from
Sep 18, 2024

Commits on Sep 10, 2024

  1. Use separate loggers for each module

    This shouldn't change any behavior, because all loggers in the codebasin
    package will inherit its configuration. However, having separate loggers
    will allow us to configure different behavior for each module later.
    
    Signed-off-by: John Pennycook <john.pennycook@intel.com>
    Pennycook committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    6b02c7b View commit details
    Browse the repository at this point in the history
  2. Replace invalid use of logger.disabled

    The documentation for the logging module says that the disabled property
    of a logger should be treated as read-only. The logging.disable()
    function is the correct way to disable logging.
    
    Signed-off-by: John Pennycook <john.pennycook@intel.com>
    Pennycook committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    7762668 View commit details
    Browse the repository at this point in the history