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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file django_rich_logging-0.3.0.tar.gz.

File metadata

  • Download URL: django_rich_logging-0.3.0.tar.gz
  • Upload date:
  • Size: 5.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.1 CPython/3.9.13 Darwin/22.1.0

File hashes

Hashes for django_rich_logging-0.3.0.tar.gz
Algorithm Hash digest
SHA256 b8a1e585fe71cfd008ec056af3605cd5d1cc077adb4512345991c6133d4af3d5
MD5 64930bfb9f2d60f478719465fd5609cc
BLAKE2b-256 adc504bbc2e814e9c43959501d13dc74240b0b7ab75e973b48ee9967e524b633

See more details on using hashes here.

File details

Details for the file django_rich_logging-0.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for django_rich_logging-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e36045589a7d165e1f6930f65dcc460dbb2474df1aecb6686d209ab666342f9d
MD5 380215d8a24d5d5cc74c574c9f2ac16a
BLAKE2b-256 43fe52c004b3893f5f1be58cdc6241666f05f4cb73713688b4306adbb1e6c938

See more details on using hashes here.

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