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

logging: Fix missing logging #764

Merged
merged 1 commit into from
Mar 10, 2022
Merged

logging: Fix missing logging #764

merged 1 commit into from
Mar 10, 2022

Commits on Mar 10, 2022

  1. logging: Fix missing logging

    Previously we started using logging before it had been initialized.
    Which resulted in leapp stopping to log for some logger names the debug
    output. We did not know why this happened. It turns out that fileConfig
    from the logging library has a parameter disable_existing_loggers which
    is by default set to True and will set all loggers that have existed
    before the call to fileConfig to disabled. Which in turn will make them
    stop logging of course.
    This patch will change this behaviour and set disable_existing_loggers
    to False in order to have existing loggers be still enabled.
    
    Signed-off-by: Vinzenz Feenstra <vfeenstr@redhat.com>
    vinzenz committed Mar 10, 2022
    Configuration menu
    Copy the full SHA
    730ed8e View commit details
    Browse the repository at this point in the history