Skip to content

Disable Rich tracebacks by default #6576

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

Open
wants to merge 4 commits into
base: V3/develop
Choose a base branch
from

Conversation

Jackenmen
Copy link
Member

Description of the changes

Rich tracebacks trade usability for the "nice look". We don't want that as a default experience. It's been a constant support nightmare due to how much it inflates the text length of tracebacks, doesn't react well to terminal resizing, and, empirically, probably also slows down console logging noticeably...
I feel like this has been a known "ah, yes, this does kinda suck and we'd like to change it at some point" for a while.

Have the changes in this PR been tested?

Yes

Rich logging is trading usability for the "nice look". We don't want that as a default experience.
@Jackenmen Jackenmen added the Type: Enhancement Something meant to enhance existing Red features. label May 24, 2025
@github-actions github-actions bot added the Category: Core - Command-line Interfaces This is related to Red's CLIs (redbot, redbot-launcher, redbot-setup). label May 24, 2025
@Jackenmen Jackenmen force-pushed the disable_rich_logging_by_default branch from 6786d8f to 6b0ff85 Compare May 24, 2025 19:16
@Jackenmen
Copy link
Member Author

One could argue that, since this is marked as useful for development, maybe we should auto-enable it as part of the --dev flag, but I think that it would be too opinionated to do that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Category: Core - Command-line Interfaces This is related to Red's CLIs (redbot, redbot-launcher, redbot-setup). Type: Enhancement Something meant to enhance existing Red features.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant