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.

Source Distribution

django-taylogger-middleware-0.1.tar.gz (2.9 kB view hashes)

Uploaded Source

Built Distribution

django_taylogger_middleware-0.1-py3-none-any.whl (3.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page