Skip to main content

Django middleware for custom logging

Project description

django-custom-logging

Django middleware for custom logging

Installation

  1. Install the package
    python -m pip install django-custom-logging
    
  2. Add middleware to MIDDLEWARE in setting file
    MIDDLEWARE = (
        # other middlewares ...
        "django-custom-logging.middleware.request_info_middleware",
    )
    
  3. Finally, add custom_logging.filters.UserIdFilter to LOGGING in setting file and update formatter

(TBD)

Examples

(TBD)

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-custom-logging-0.0.1b3.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

django_custom_logging-0.0.1b3-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file django-custom-logging-0.0.1b3.tar.gz.

File metadata

  • Download URL: django-custom-logging-0.0.1b3.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2

File hashes

Hashes for django-custom-logging-0.0.1b3.tar.gz
Algorithm Hash digest
SHA256 3275f82d79e7f8e844f8ffa29f86453dea03adafe6887a1284f1e6590964e318
MD5 fd125f7c769bd1f90920ccb54f0e3a79
BLAKE2b-256 d6bbb55f4ab6cf5b47f8c5ba4026b162e9d5fe6f457180da99e5cb7b528f2684

See more details on using hashes here.

File details

Details for the file django_custom_logging-0.0.1b3-py3-none-any.whl.

File metadata

  • Download URL: django_custom_logging-0.0.1b3-py3-none-any.whl
  • Upload date:
  • Size: 3.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2

File hashes

Hashes for django_custom_logging-0.0.1b3-py3-none-any.whl
Algorithm Hash digest
SHA256 9c69ef090f079ab8119c65cc6e8461fd6c2ca561c42bf25c9d806560ae6325b0
MD5 f5cafddb311a6b1d1e6632ec7234421f
BLAKE2b-256 805e3ec03a1a0a02f43e17c3f137633596a06efe305f5ad0a297bb149afddae9

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