Skip to main content

199Fix provides a logging handler to push exceptions and other errors to https://199fix.com/.

Installation

Installation with pip:

$ pip install 199fix

Get an API Key here https://199fix.com/signup/

Add '199fix.handlers.I99FixHandler' as a logging handler:

LOGGING = {
    'version': 1,
    'disable_existing_loggers': False,
    'filters': {
        'require_debug_false': {
            '()': 'django.utils.log.RequireDebugFalse'
        }
    },
    'handlers': {
        '199fix': {
            'level': 'INFO',
            'class': '199fix.handlers.I99FixHandler',
            'filters': ['require_debug_false'],
            'api_key': '[your-api-key]',
            'env_name': 'production',
        }
    },
    'loggers': {
        'django': {
            'handlers': ['199fix'],
            'level': 'INFO',
            'propagate': True,
        },
    }
}

Settings

level (built-in setting)

Change the level to 'ERROR' to disable logging of 404 error messages.

api_key (required)

API key , Get one here https://199fix.com/.

env_name (required)

Name of the environment (e.g. production, develop, testing)

Contributing

  • Fork the repository on GitHub and start hacking.

  • Run the tests.

  • Send a pull request with your changes.

Download files

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

Source Distribution

199Fix-1.1.0.tar.gz (4.2 kB view details)

Uploaded Source

File details

Details for the file 199Fix-1.1.0.tar.gz.

File metadata

  • Download URL: 199Fix-1.1.0.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for 199Fix-1.1.0.tar.gz
Algorithm Hash digest
SHA256 c40ca01e2083c30b541975312945b4f723ea295d989ef28d7e37342cb4826187
MD5 c85165a28c1fc785e987daf77bd63e56
BLAKE2b-256 f9d4a11111f0084352c25a2e3fe47875a91f2b71ab928d855f50402823c087c2

See more details on using hashes here.

Supported by

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