A small example package
Project description
django-custom-logging
Django middleware for custom logging
Installation
- Install the package
python -m pip install django-custom-logging
- Add middleware to
MIDDLEWARE
in setting fileMIDDLEWARE = ( # other middlewares ... "django-custom-logging.middleware.request_info_middleware", )
- Finally, add
custom_logging.filters.UserIdFilter
toLOGGING
in setting file and update formatter
(TBD)
Examples
(TBD)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for django-custom-logging-0.0.1b1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 791c28b12c5efb2fd9f09f14766374c22bcbb85cc0f8aac6c0e63cac07dff76e |
|
MD5 | 81f8a57a67aa398e1d869dfe49536b6e |
|
BLAKE2b-256 | a8a52d54897e76e59f126a21e4e6d6de4ee7b0a1106ef38c55019f9707be998f |
Close
Hashes for django_custom_logging-0.0.1b1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b6fd7188486648485a76c29653131b599929aa50eb73e93dc018e892731b14b4 |
|
MD5 | fcbffee5414b72656cd9a2730cee9baf |
|
BLAKE2b-256 | 83b2613ab1afb1adb899cf4a42a3edda6b7a0de01982d2be359a045463d0e080 |