Skip to main content

Use Zope exception format for logging

Project description

The package provides the function use_zope_exception_log_format. When called, it overrides logging.Formatter.formatException with the effect that later log entries use Zope’s format for exceptions rather than Python’s. The former contains additional hints from __traceback_info__ and __traceback_supplement__ found in the traceback frames.

__traceback_info__ and/or __traceback_supplement__ are often used by the Zope infrastructure or application code to provide additional information for the analysis of exception causes. For example, Zope’s page templates use this mechanism to make available at what position in the template an exception occurred.

Project details

Release history Release notifications | RSS feed

This version


Download files

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

Source Distribution

dm.zopepatches.logging-1.0.tar.gz (2.3 kB view hashes)

Uploaded Source

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