Django middleware for custom logging
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.1b3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3275f82d79e7f8e844f8ffa29f86453dea03adafe6887a1284f1e6590964e318 |
|
MD5 | fd125f7c769bd1f90920ccb54f0e3a79 |
|
BLAKE2b-256 | d6bbb55f4ab6cf5b47f8c5ba4026b162e9d5fe6f457180da99e5cb7b528f2684 |
Close
Hashes for django_custom_logging-0.0.1b3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9c69ef090f079ab8119c65cc6e8461fd6c2ca561c42bf25c9d806560ae6325b0 |
|
MD5 | f5cafddb311a6b1d1e6632ec7234421f |
|
BLAKE2b-256 | 805e3ec03a1a0a02f43e17c3f137633596a06efe305f5ad0a297bb149afddae9 |