Skip to main content

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)

Source distribution for django-zupit-logging 0.2.4
File Size Uploaded Provenance Actions
django_zupit_logging-0.2.4.tar.gz 7.0 kB Without provenance Details for django_zupit_logging-0.2.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for django-zupit-logging 0.2.4
File Interpreter ABI Platform Actions
django_zupit_logging-0.2.4-py3-none-any.whl Python 3 none any Details for django_zupit_logging-0.2.4-py3-none-any.whl

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

Security for django-zupit-logging 0.2.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page