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_redirect_tqdm does not preserve log level of original stream handler #1458

Closed
6 tasks
sasha-wing opened this issue Mar 28, 2023 · 1 comment
Closed
6 tasks

Comments

@sasha-wing
Copy link

  • I have marked all applicable categories:
    • exception-raising bug
    • visual output bug
  • I have visited the source website, and in particular
    read the known issues
  • I have searched through the issue tracker for duplicates
  • I have mentioned version numbers, operating system and
    environment, where applicable:
    workaround
    with logging_redirect_tqdm():
        for handler in logging.root.handlers:
            if isinstance(handler, _TqdmLoggingHandler):
                handler.setLevel(logging.INFO)
@sasha-wing
Copy link
Author

duplicate of #1272

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

No branches or pull requests

1 participant