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
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3275f82d79e7f8e844f8ffa29f86453dea03adafe6887a1284f1e6590964e318 |
|
MD5 | fd125f7c769bd1f90920ccb54f0e3a79 |
|
BLAKE2b-256 | d6bbb55f4ab6cf5b47f8c5ba4026b162e9d5fe6f457180da99e5cb7b528f2684 |
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9c69ef090f079ab8119c65cc6e8461fd6c2ca561c42bf25c9d806560ae6325b0 |
|
MD5 | f5cafddb311a6b1d1e6632ec7234421f |
|
BLAKE2b-256 | 805e3ec03a1a0a02f43e17c3f137633596a06efe305f5ad0a297bb149afddae9 |