Arecibo error logging WSGI middleware
Project description
areciboware is a small WSGI middleware component that will report unhandled exceptions to an Arecibo instance. This provides a convenient system to collect and analyse errors in an application.
Usage
To use areciboware you need to have a running Arecibo instance. You will needs its URL and its public key to setup the middleware.
paste.deploy
If you are using Paste Deployment to start your website you can define an arecibo filter in your .ini file:
[filter:arecibo] use = egg:areciboware#main url = http://my-arecibo.appspot.com/v/1/ account = your-arecibo-public-key [app:yourapp] .. [pipeline:main] pipeline = arecibo yourapp
Manual
You can also manually add the middleware to your WSGI pipeline in your python code. Here is a simple example:
from areciboware.middleware import AreciboMiddleware app = AreciboMiddleware(app, url="http://my-arecibo.appsot.com/v/1/", account="your-arecibo-public-key") return app
Changelog
1.0b1 - July 27, 2010
Include request data with all CGI and WSGI variables in reports. [wichert]
Include username in report if REMOTE_USER is set in the environ. [wichert]
1.0a1 - July 14, 2010
First public release. [wichert]
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
File details
Details for the file areciboware-1.0b1.tar.gz
.
File metadata
- Download URL: areciboware-1.0b1.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 675b3a29c1f195e334ff2e4075c6f8704a73ebcef2811074acefb95c778eb378 |
|
MD5 | 142825b27f7f0cecd59781a3bd50e30f |
|
BLAKE2b-256 | 88b783938d9d5973ae1a2d0e986297dafe0201c4f1fb5882689a80d14793bfbc |