Django Zupit Logging
A Django Middleware for logging requests and responses accordingly to Zupit Standards.
Installation
Install using pip:
pip install django_zupit_logging
Configuration
Add django_zupit_logging to your INSTALLED_APPS setting:
INSTALLED_APPS = [
...
'django_zupit_logging',
]
Add django_zupit_logging.middleware.ZupitLoggingMiddleware to your MIDDLEWARE setting:
MIDDLEWARE = [
...
'django_zupit_logging.middleware.ZupitLoggingMiddleware',
]
Add ZUPIT_LOGGING to your settings.py file:
ZUPIT_LOGGING = {
"APP_INSIGHTS_CONNECTION_STRING": env("APP_INSIGHTS_CONNECTION_STRING"),
}
Use enable_zupit_logger(LOGGING) to your settings.py file:
from django_zupit_logging.settings import enable_zupit_logger
if env("APP_INSIGHTS_CONNECTION_STRING"):
enable_zupit_logger(LOGGING)
Usage
The middleware will log requests and responses accordingly to Zupit Standards.
Metadata
Release files for django-zupit-logging 0.2.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| django_zupit_logging-0.2.4.tar.gz | 7.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| django_zupit_logging-0.2.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 15.0 kB
Release files / django_zupit_logging-0.2.4.tar.gz
| Download URL | django_zupit_logging-0.2.4.tar.gz |
|---|---|
| Size | 7.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e2bfaa04b226f9fe17cb7bd077761d30cfad472dfd1912417f65efeba833bef8
|
|
BLAKE2b-256 checksum How to use checksums |
cef97f16c63b2f77af13896f8f57f4d355a59aed84d5a7adf61769eae588a660
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.0 CPython/3.12.4
|
Release files / django_zupit_logging-0.2.4-py3-none-any.whl
| Download URL | django_zupit_logging-0.2.4-py3-none-any.whl |
|---|---|
| Size | 8.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
37b7d6d193ff9c4dfa6e20fd7c593dc81107c5657b3850eb2b0cce1367e350dc
|
|
BLAKE2b-256 checksum How to use checksums |
364605e80186030030905ca8e3e2403f6934da95cbd38a4542f5cb96aa74ba1d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.0 CPython/3.12.4
|