Skip to main content

A Django Exception catcher middleware.

Project description

Taylogger Django Middleware is a middleware that helps catch Django exceptions and send them to Taylogger to save the log message of the exception. Quick start ———–

  1. Add “polls” to your INSTALLED_APPS setting like this:

    INSTALLED_APPS = [
        ...
        'taylogger',
    ]
    
  2. Add “polls” to your MIDDLEWARES setting like this:

    MIDDLEWARES = [
        ...
        'taylogger.middleware.ErrorLoggerMiddleware',
    ]
    
  3. Then set the following variables in the settings.py

`python EXCEPTION_GROUP_ID = "YOUR_EXCEPTION_GROUP_ID" TAYLOGGER_API_KEY = "YOUR_TAYLOGGER_API_KEY" `

4. You can now use your app and Taylogger Middleware will catch your exceptions and send to Taylogger app

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for django-taylogger-middleware, version 0.1
Filename, size File type Python version Upload date Hashes
Filename, size django_taylogger_middleware-0.1-py3-none-any.whl (3.9 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size django-taylogger-middleware-0.1.tar.gz (2.9 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page