dsl
django-slow-log
pypi i django-slow-log
dsl

django-slow-log

django slow request log

by Jason Moiron

0.1.3 (see all)License:MITCategories:Django Logging
pypi i django-slow-log
Readme

django-slow-log

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)

GitHub Stars

32

LAST COMMIT

11yrs ago

MAINTAINERS

1

CONTRIBUTORS

4

OPEN ISSUES

0

OPEN PRs

0
VersionTagPublished
0.1.3
12yrs ago
0.1.2
12yrs ago
0.1.1
12yrs ago
0.1
12yrs ago
No tutorials found
Add a tutorial