Skip to main content

A small example package

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.1b1.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

django_custom_logging-0.0.1b1-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: django-custom-logging-0.0.1b1.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.1b1.tar.gz
Algorithm Hash digest
SHA256 791c28b12c5efb2fd9f09f14766374c22bcbb85cc0f8aac6c0e63cac07dff76e
MD5 81f8a57a67aa398e1d869dfe49536b6e
BLAKE2b-256 a8a52d54897e76e59f126a21e4e6d6de4ee7b0a1106ef38c55019f9707be998f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: django_custom_logging-0.0.1b1-py3-none-any.whl
  • Upload date:
  • Size: 3.8 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.1b1-py3-none-any.whl
Algorithm Hash digest
SHA256 b6fd7188486648485a76c29653131b599929aa50eb73e93dc018e892731b14b4
MD5 fcbffee5414b72656cd9a2730cee9baf
BLAKE2b-256 83b2613ab1afb1adb899cf4a42a3edda6b7a0de01982d2be359a045463d0e080

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