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

Uploaded Source

Built Distribution

File details

Details for the file django-taylogger-middleware-0.1.tar.gz.

File metadata

  • Download URL: django-taylogger-middleware-0.1.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.6.9

File hashes

Hashes for django-taylogger-middleware-0.1.tar.gz
Algorithm Hash digest
SHA256 a681ef3ef2422979d221859edee92b95182620afc873d55ade51136c679958b8
MD5 fef2d438d7030ce953b9a1d4fbd35734
BLAKE2b-256 59c1885ec4135139d3201d83178e4f2504a36793e9aebc982654cf4292a4db1c

See more details on using hashes here.

File details

Details for the file django_taylogger_middleware-0.1-py3-none-any.whl.

File metadata

  • Download URL: django_taylogger_middleware-0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.6.9

File hashes

Hashes for django_taylogger_middleware-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0e8776eff3b4efb101ee9acbff9f009cabee7aa2db83671868b25f76bd07023d
MD5 a0ae81cffd1d97f48eb104538b32e582
BLAKE2b-256 20d626cb09279469aa96917bac210fa7d89d5b86961558fa5305f13ff2282fbb

See more details on using hashes here.

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