199fix exception logger for Django
Project description
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.
Project details
Release history Release notifications | RSS feed
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.1.tar.gz
(4.4 kB
view details)
File details
Details for the file 199Fix-1.1.1.tar.gz.
File metadata
- Download URL: 199Fix-1.1.1.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
517a2fe01fa58b2088b6990d92186c8bb5214622b8ae00548e5e814508911f56
|
|
| MD5 |
777b42f4000bdabd86b104970ea743b1
|
|
| BLAKE2b-256 |
5aa8f6f2a43f9d6a08f8ef768d4ba068ee7eec9fc13863a9bab4118d74660270
|