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

Keep logging level when using tqdm logger redirect #1362

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Serene-Arc
Copy link

This fixes an issue with the logging redirect. When using it, it removes the level of the associated logger that it is superseding, resulting in any verbosity setting being ignored from that point on. This is just a simple fix to carry over the logging level to the new logger object.

@tfardet
Copy link

tfardet commented Jun 12, 2023

This seems like a very simple change and this PR would be very useful (not supporting the default level strongly limits logging redirection at the moment).
@Serene-Arc could you please pull the main branch so this can be merged?

@Serene-Arc
Copy link
Author

@tfardet done! rebased off master. This isn't the only PR with these changes, fyi.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants