slow request log for django
Project description
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.DjangoSlowLog', ... )
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)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
django-slow-log-0.1.tar.gz
(4.0 kB
view details)
File details
Details for the file django-slow-log-0.1.tar.gz
.
File metadata
- Download URL: django-slow-log-0.1.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 88fbf11d0a49578923a4fa79dd9d4990bdb9ca67cdd64c4fc736b66b065fecbd |
|
MD5 | 85930ebbbbc88b68769f87987069973c |
|
BLAKE2b-256 | 4cdd056d2d99f2da149eefb527bbae3f5a9fed5c8bb2c4bc11085d631c44d04c |