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
django_zupit_logging-0.2.4.tar.gz 7.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for django-zupit-logging 0.2.4
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

0.2.4 This release

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.4

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

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