django-slow-log

Slow request log for Django
Download

django-slow-log Ranking & Summary

Advertisement

  • Rating:
  • License:
  • MIT/X Consortium Lic...
  • Publisher Name:
  • Jason Moiron

django-slow-log Tags


django-slow-log Description

Slow request log for Django django-slow-log is a Django app that adds an additional logging layer which 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/usageTo use, add to your MIDDLEWARE_CLASSES in settings.py:MIDDLEWARE_CLASSES = ( 'django_slow_log.middleware.SlowLogMiddleware', ...)SettingsDJANGO_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) Requirements: · Django · Python


django-slow-log Related Software