Skip to main content

A prettier way to see Django requests while developing.

Project description

django-rich-logging

A prettier way to see Django requests while developing.

PyPI PyPI - Downloads GitHub Sponsors

📖 Complete documentation: https://django-rich-logging.readthedocs.io

📦 Package located at https://pypi.org/project/django-rich-logging/

⭐ Features

  • live-updating table of all requests while developing

demo of django-rich-logging

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django_rich_logging-0.3.0.tar.gz (5.7 kB view hashes)

Uploaded Source

Built Distribution

django_rich_logging-0.3.0-py3-none-any.whl (5.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page