django-airbrake

Airbrake exception logger for Django
Download

django-airbrake Ranking & Summary

Advertisement

  • Rating:
  • License:
  • MIT/X Consortium Lic...
  • Price:
  • FREE
  • Publisher Name:
  • Bouke Haarsma
  • Publisher web site:
  • http://github.com/Bouke/

django-airbrake Tags


django-airbrake Description

django-airbrake is a Django app that provides a logging handler to push exceptions and other errors to airbrakeapp or other airbrake-compatible exception handler services (e.g. aTech Media's Codebase).InstallationInstallation with pip: pip install django-airbrakeAdd 'airbrake.handlers.AirbrakeHandler' as a logging handler:LOGGING = { 'version': 1, 'disable_existing_loggers': False, 'filters': { 'require_debug_false': { '()': 'django.utils.log.RequireDebugFalse' } }, 'handlers': { 'airbrake': { 'level': 'WARNING', 'class': 'airbrake.handlers.AirbrakeHandler', 'filters': , 'api_key': '', 'env_name': 'develop', } }, 'loggers': { 'django.request': { 'handlers': , 'level': 'WARNING', 'propagate': True, }, }}Settingslevel (built-in setting) Change the level to 'ERROR' to disable logging of 404 error messages.api_key (required) API key provided by the exception handler system.env_name (required) Name of the environment (e.g. production, develop, testing)api_url To use aTech Media's Codebase exception system, provide an extra setting api_url with the value 'https://exceptions.codebasehq.com/notifier_api/v2/notices'.env_variables List of environment variables that should be included in the error message, defaults to .meta_variables List of request.META variables that should be included in the error message, defaults to .timeout Timeout in seconds to send the error report, defaults to 30 seconds.Product's homepage


django-airbrake Related Software