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.
Metadata
Release files for dm.zopepatches.logging 1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| dm.zopepatches.logging-1.0.tar.gz | 2.3 kB | Details |
Release files / dm.zopepatches.logging-1.0.tar.gz
| Download URL | dm.zopepatches.logging-1.0.tar.gz |
|---|---|
| Size | 2.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
77e05b905c9594139bb6627f75acbde7ca097946996be11151d794ac44a75dc7
|
|
BLAKE2b-256 checksum How to use checksums |
c3cf3a275d34f53250cb54f6748a08766d30e17dbf9222f7fd8dd0eccb4fb6b3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
Python-urllib/2.7
|