django-rich-logging
A prettier way to see Django requests while developing.
⭐
Features
- live-updating table of all requests while developing
Installation
poetry add django-rich-logging
OR pip install django-rich-logging
Configuration
# settings.py
# other settings here
LOGGING = {
"version": 1,
"disable_existing_loggers": False,
"handlers": {
"django_rich_logging": {
"class": "django_rich_logging.logging.DjangoRequestHandler",
"level": "INFO",
},
},
"loggers": {
"django.server": {"handlers": ["django_rich_logging"], "level": "INFO"},
"django.request": {"level": "CRITICAL"},
},
}
# other settings here
Read all of the documentation at https://django-rich-logging.readthedocs.io.