Textualize / rich

Rich is a Python library for rich text and beautiful formatting in the terminal.
https://rich.readthedocs.io/en/latest/
MIT License
49.05k stars 1.71k forks source link

Support for stdlib logging StreamHandler with `Live(redirect_stderr=True)` #3286

Open gusostow opened 7 months ago

gusostow commented 7 months ago

Discussed in https://github.com/Textualize/rich/discussions/3280

Originally posted by **gusostow** February 15, 2024 I want to set up a progress bar that isn't disrupted by standard logging statements. `redirect_stderr` is working fine when I print directly to stderr but not for logging. Is this expected? Are there any workarounds? Ideally I wouldn't have to change the handler to `RichHandler` when this optional progress bar is enabled.
github-actions[bot] commented 7 months ago

Thank you for your issue. Give us a little time to review it.

PS. You might want to check the FAQ if you haven't done so already.

This is an automated reply, generated by FAQtory