rich
rich copied to clipboard
Support for stdlib logging StreamHandler with `Live(redirect_stderr=True)`
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.