Skip to content
This repository has been archived by the owner on Nov 10, 2019. It is now read-only.
/ areciboware Public archive

Please note that I have switched to using errormator, so areciboware is currently not maintained.

Notifications You must be signed in to change notification settings

wichert/areciboware

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

``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


.. _Arecibo: http://areciboapp.com/
.. _Paste Deployment: http://pythonpaste.org/deploy/

About

Please note that I have switched to using errormator, so areciboware is currently not maintained.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages