Skip to main content

django-slow-log is an additional logging layer that keeps a log similar to an apache or nginx request log, but adds additional higher level information about the state of the process and the resources used by the server during the generation of the response.

installing/usage

To use, add to your MIDDLEWARE_CLASSES in settings.py:

MIDDLEWARE_CLASSES = (
    'django_slow_log.middleware.SlowLogMiddleware',
    ...
)

settings

DJANGO_SLOW_LOG_PRINT_ONLY

do not keep a log in a file, only print; this can be useful for use on your devbox (via runserver)

DJANGO_SLOW_LOG_LOCATION

path of the log file (default: /var/log/django-slow.log)

Metadata

Release files for django-slow-log 0.1.3

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-slow-log 0.1.3
File Size Uploaded
django-slow-log-0.1.3.tar.gz 4.2 kB Details

Release files / django-slow-log-0.1.3.tar.gz

Download URL django-slow-log-0.1.3.tar.gz
Size 4.2 kB
Tags Source
SHA-256 checksum
How to use checksums
7856879969df524d0e0eb1df6a9660028a8b5345e579dedb88ce5710afcd87d9
BLAKE2b-256 checksum
How to use checksums
1a344f622f2f08d9e986b6e93a1829a65d0a41d0b910f64b4a502462d2cdb2b0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1.3 This release

1 release file

0.1.2

1 release file

0.1.1

1 release file

0.1

1 release file

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