Skip to main content

Forensic debugging WSGI middleware

Project description

repoze.debug README

Middleware which can help with in-production forensic debugging.

Installation

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

$ easy_install repoze.debug

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.debug/issues

Obtaining Source Code

Download development or tagged versions of the software by visiting:

https://github.com/repoze/repoze.debug

repoze.debug Changes

0.7.2 (2011-04-18)

0.7.1 (2010-03-11)

  • Sphinxified docs.

  • Don’t compute tracelog records unless we are going to write them.

0.7 (2009/09/06)

  • The iterator returned by an application was closed too soon when using the responselogger middleware, resulting in, e.g. errors from paste.fileapp complaining about “file already closed”.

  • If the keep parameter in the “responselogger” middleware is set to zero, no entries are logged (not even one, as previously may have happened).

  • Better test coverage.

  • Ignore HTTP errors in post-mortem debug middleware. The exceptions we want to catch here are application-level. A configuration option has been added to keep the old behavior.

  • Added middleware “threads” to debug threads (based on an adaptation of Florent Guillaume’s “DeadlockDebugger” product for Zope 2).

0.6.2 (2008/07/03)

  • Show a “short” URL in the debug UI.

0.6.1 (2008/07/03)

  • Fix debug UI bug: show escaped body regardless of content-type.

0.6 (2008/07/02)

  • Fix logging bug. Symptom: AttributeError: ‘NoneType’ object has no attribute ‘info’

0.5 (2008/06/30)

  • Make debug request id reflect approximate UNIX time rather than a random debug id.

  • Deal with responses via a generator; don’t unwind response bodies into memory.

  • Default max_bodysize is now 3K rather than the entire response body.

  • User interface; keep entries around to show in GUI. See /__repoze.debug/static/debugui.html.

  • We now write two logs: a verbose log, and a trace log. The verbose log contains information about headers, request information, response bodies, etc. The trace log is more compact and is written in essence to be parsed by a tool.

  • The ‘filename’ option in Paste config is now ‘verbose_log’.

  • Port Zope’s ‘requestprofiler’ script to WSGI. Invoke via ‘wsgirequestprofiler’ to see help; operates against ‘trace’ log.

0.4 (2008/06/25)

  • Add pdbpm middleware for dropping into the post-mortem debugger upon an exception (copied from repoze.errorlog).

0.3 (2008/06/25)

  • Add ‘canary’ middleware for detecting environment dictionary leaks. Add to your Paste config via ‘egg:repoze.debug#canary’; it takes no arguments. If refcounts to repoze.debug.canary.Canary grow without bound, you know you are leaking WSGI environment dictionaries.

  • Add source url to response logging.

0.2 (2008/06/14)

  • Add warning if content-length != body length.

0.1 (2008/06/13)

  • 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.debug-0.7.2.tar.gz (216.1 kB view details)

Uploaded Source

File details

Details for the file repoze.debug-0.7.2.tar.gz.

File metadata

  • Download URL: repoze.debug-0.7.2.tar.gz
  • Upload date:
  • Size: 216.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for repoze.debug-0.7.2.tar.gz
Algorithm Hash digest
SHA256 ea83b1b4c74c2bac513bc2b932967d97f400029ae8c6bda230165bdaec6aaf11
MD5 c2b806222ab74914299dc749b23ff08b
BLAKE2b-256 e854e888919ea4d812cc13a54e751974f541260fa1919c2325b49a30fac3fbf8

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