Skip to content

[REQUEST] Tweak default colors for RichHandler #2825

@alexprengere

Description

@alexprengere

Hello, first of all, thank you for rich! I use it in pretty much all my projects.

I have a very minor suggestion regarding the default colors for logging levels.
I know we can customize them using themes (and I already do!).
I use mostly info/warning/error levels for logging, and depending on the terminal used, warnings and errors render almost identically.

When googling "Python colored logs", the top solutions (in my case) use yellow-ish for warnings and red for errors.
Granted, many of the top results use coloredlogs, but in any case I see:

So I was wondering if you would be willing to tweak the default 'logging.level.warning' to something closer to yellow, to be more in line with this, and give a bit more distinction to warnings and errors.
Anyway, I am perfectly happy with customization through themes!

Metadata

Metadata

Assignees

No one assigned

    Labels

    acceptedTask was accepted

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions