Skip to main content

Error logging and reporting middleware

Project description

repoze.errorlog

https://travis-ci.org/repoze/repoze.errorlog.png?branch=master Documentation Status https://img.shields.io/pypi/v/repoze.errorlog.svg https://img.shields.io/pypi/pyversions/repoze.errorlog.svg

This package implements a WSGI middleware filter which intercepts exceptions and writes them to a Python logging module channel (or the wsgi.errors filehandle, if no channel is configured). It also allows the browsing of limited exception history via a browser UI.

Installation

Install using setuptools, e.g. (within a virtualenv):

$ easy_install repoze.errorlog

or using pip:

$ pip install repoze.errorlog

Usage

For details on using the various components, please see the documentation in docs/index.rst. A rendered version of that documentation is also available online:

Reporting Bugs

Please report bugs in this package to

https://github.com/repoze/repoze.errorlog/issues

Obtaining Source Code

Download development or tagged versions of the software by visiting:

https://github.com/repoze/repoze.errorlog

Changelog

1.1 (2016-06-03)

  • Add support for Python 3.5.

  • Drop support for Python 2.6 and 3.2.

1.0.0 (2015-02-07)

  • Add support for Python 3.2, 3,3, and 3.4, and PyPy3.

  • Drop dependency on Paste (forking / simplifying paste.request.parse_querystring and paste.request.construct_url).

  • Add support for testing on Travis.

  • Add Sphinx documentation.

  • Drop support for Python 2.4 / 2.5.

0.9.2 (2012-03-29)

  • This release is the last which will maintain support for Python 2.4 / Python 2.5.

  • Add support for continuous integration using tox and jenkins.

  • Add support for PyPy.

  • Add ‘setup.py dev’ alias (runs setup.py develop plus installs nose and coverage).

  • Moved to github.

0.9.1 (2010-05-23)

  • Make it possible to send exceptions to a logger channel as described in the docs; this didn’t actually work previously because a) I’m not very good at programming and b) the Python logging module is terrible (using s[-1] and not catching an exception when the string is empty rather than using s.endswith(), at least under Python 2.4).

0.9 (2010-05-23)

  • Bump copyrights.

  • Remove dependency on ez_setup.py.

  • Docs now show how to use ErrorLog outside PasteDeploy.

  • Avoid a dependency on elementtree when used with Python 2.5 and later. In those Python versions we used the built-in xml.etree support.

  • 100% test coverage.

0.8 (2008-06-25)

  • Remove post-mortem debug middleware (moved to repoze.debug).

  • Initial PyPI release.

0.7 (2008-05-21)

  • Add post-mortem debug middleware (egg:repoze.errorlog#pdbpm)

  • Remove versions from dependencies.

0.6

0.5

  • Depend on elementree 1.2.6 explicitly.

0.4

  • Add ignore feature to configuration. A value consisting of space-separated entry point names can be used here, indicating that these exception types should not be logged or kept in exception history.

  • Allow __error_log__ view path to be configured via path entry in Paste configuration.

  • Place repoze.errorlog.path and repoze.errorlog.entryid in the WSGI environment to allow error-catching middleware and apps to compose URLs to errors.

0.3

  • 0.2 didn’t work as a filter. :-(

  • Don’t use zope.pagetemplate, it has too many (potentially conflicting) dependencies. Instead use meld for template views.

0.2

  • Provide a TTW view (accessible via /__error_log__) of recent tracebacks.

0.1

  • Initial release.

Project details


Download files

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

Source Distribution

repoze.errorlog-1.1.tar.gz (21.1 kB view details)

Uploaded Source

Built Distributions

repoze.errorlog-1.1-py3-none-any.whl (13.6 kB view details)

Uploaded Python 3

repoze.errorlog-1.1-py2-none-any.whl (13.6 kB view details)

Uploaded Python 2

File details

Details for the file repoze.errorlog-1.1.tar.gz.

File metadata

File hashes

Hashes for repoze.errorlog-1.1.tar.gz
Algorithm Hash digest
SHA256 16f39260d9c5470b0dd73a490e50e949857a3f0324e917cc05bc0ab7f9acfb0f
MD5 dde28a8bde1a6a93ccdd2865ef507110
BLAKE2b-256 f9a0cac87efb7ac8098d03760df3ffa6a71333db7d0e4bb26a15a9c1d2706957

See more details on using hashes here.

File details

Details for the file repoze.errorlog-1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for repoze.errorlog-1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ec8ecf2a02ac4491eda361744881200f0ec526df561df79f1985313fe737d29d
MD5 32c9d0bc2394650945149347faaf74a5
BLAKE2b-256 9b61ce00d25b9dae16d7d2971787e01fa69ed05ea3cfa9a5bd092077ecde5ca5

See more details on using hashes here.

File details

Details for the file repoze.errorlog-1.1-py2-none-any.whl.

File metadata

File hashes

Hashes for repoze.errorlog-1.1-py2-none-any.whl
Algorithm Hash digest
SHA256 b55c7dd421e8d41a7080c336e30e27025dfaa65532aedb7d9a970de2de55e5ee
MD5 8fc4d0dcb46eeea82a18c02bebb6f713
BLAKE2b-256 6da66ac5f89e8c5b3c00bd44ead956daf67ca1d52687159e87d8e129229453ff

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