django-slow-log 0.1.3

slow request log for django

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)
MIT

Author

Jason Moiron

Pip

django-slow-log==0.1.3

Classifiers

  • Topic :: Internet :: WWW/HTTP
  • Topic :: Internet :: Log Analysis
  • Operating System :: POSIX
  • License :: OSI Approved :: MIT License
  • Intended Audience :: Developers
  • Framework :: Django
  • Development Status :: 4 - Beta
File Type Python Version Uploaded On Downloads
django-slow-log-0.1.3.tar.gz Source Jan. 18, 2011 2,385
Version Release Date
0.1.3 Jan. 18, 2011
0.1.2 Jan. 18, 2011
0.1.1 Jan. 18, 2011
0.1 Jan. 18, 2011
Date Package Version Action
Nov. 4, 2014, 1:50 p.m. django-slow-log 0.1.3 Release Created
Nov. 4, 2014, 1:50 p.m. django-slow-log 0.1.2 Release Created
Nov. 4, 2014, 1:50 p.m. django-slow-log 0.1.1 Release Created
Nov. 4, 2014, 1:50 p.m. django-slow-log 0.1 Release Created
Nov. 4, 2014, 1:50 p.m. django-slow-log Package Created