enable Rich terminal output
brylie opened this issue · 3 comments
brylie commented
Task
- add Rich to this project with the command
poetry add rich --group dev
- follow the Rich configuration instructions
- add the following code to the
LOGGING = {...}
configuration in the project settings
"formatters": {
"rich": {"datefmt": "[%X]"},
},
"console": {
"class": "rich.logging.RichHandler",
"filters": ["require_debug_true"],
"formatter": "rich",
"level": "DEBUG",
"rich_tracebacks": True,
"tracebacks_show_locals": True,
},
ApoorvaKashyap commented
Would like to work on this.
ApoorvaKashyap commented
Do you only want to show the warnings or every message generated by django?
brylie commented
Let's start with errors and warnings.