Skip to content

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

@gusostow

Description

@gusostow

Discussed in #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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions