Skip to main content

pyramid_exclog

A package which logs Pyramid application exception (error) information to a standard Python logger. This add-on is most useful when used in production applications, because the logger can be configured to log to a file, to UNIX syslog, to the Windows Event Log, or even to email.

See the documentation at https://docs.pylonsproject.org/projects/pyramid_exclog/en/latest/ for more information.

This package will only work with Pyramid 1.5 and better.

1.3 (2026-11-24)

  • Stop using the deprecated request.unauthenticated_userid. The unauthenticated userid is now read from the authentication policy directly. When no authentication policy is configured, including when a Pyramid 2.0 security policy is used, the UNAUTHENTICATED USER section is omitted from the exclog.extra_info output instead of logging None.

1.2 (2026-11-21)

  • Rename “master” to “main”

  • Drop support for Python 3.7, 3.8, 3.9, and 3.10.

  • Add support for Python 3.11, 3.12, 3.13, 3.14, and 3.15.

  • Avoid deprecation warnings by using the public api for pyramid.path.DottedNameResolver.

  • Stop using the deprecated pkg_resources api in the docs.

  • Switch packaging metadata from setup.cfg to pyproject.toml and use an SPDX license expression. The testing and docs extras are replaced by dependency groups.

1.1 (2022-03-12)

1.0 (2017-04-09)

0.8 (2016-09-22)

  • Drop support for Python 2.6 and 3.2.

  • Add explicit support for Python 3.4 and 3.5.

  • Handle IOError exception when accessing request parameters.

  • Fix UnicodeDecodeError on Python 2 when QUERY_STRING is a str containing non-ascii bytes.

  • Allways pass the logging module text rather than sometimes bytes and sometimes text.

0.7 (2013-06-28)

  • Add explicit support for Python 3.3.

  • Do not error if the URL, query string or post data contains unexpected encodings.

  • Try to log an exception when logging fails: often the middleware is used just inside one which converts all errors into ServerErrors (500), hiding any exceptions triggered while logging.

  • Add unauthenticated_user() to the output when the extra_info key is set to True (PR #11).

  • Add a hook for constructing custom log messages (PR #15).

  • Changed testing regime to allow setup.py dev.

  • We no longer test under Python 2.5 (although it’s not explicitly broken under 2.5).

0.6 (2012-03-24)

  • Add an exclog.extra_info setting to the exclog configuration. If it’s true, send WSGI environment and params info in the log message.

0.5 (2011-09-27)

  • Python 3.2 compatibility under Pyramid 1.3.X.

0.4 (2011-08-24)

  • Docs-only changes.

0.3 (2011-08-21)

  • Don’t register an implicit tween factory with an alias (compat with future 1.2).

0.2 (2011-08-13)

  • Improve documentation by providing examples of logging to file, email and by describing deltas to default Pyramid 1.2 logging config.

  • Use string value as factory to add_tween in includeme.

0.1 (2011-08-11)

  • Initial release.

Metadata

Release files for pyramid-exclog 1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyramid-exclog 1.3
File Size Uploaded Provenance Actions
pyramid_exclog-1.3.tar.gz 26.5 kB With provenance Details for pyramid_exclog-1.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pyramid-exclog 1.3
File Interpreter ABI Platform Actions
pyramid_exclog-1.3-py3-none-any.whl Python 3 none any Details for pyramid_exclog-1.3-py3-none-any.whl

Total release size: 33.1 kB

Release files / pyramid_exclog-1.3.tar.gz

Download URL pyramid_exclog-1.3.tar.gz
Size 26.5 kB
Tags Source
SHA-256 checksum
How to use checksums
11749fe8db9ccb96e1d1caa4628ff463eb70125264b7a5bc257840ffa1f7d7ac
BLAKE2b-256 checksum
How to use checksums
24b4120a1e68f7786110549866feed3a46915d86e42a9714074dc086a87e73a2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.

Transparency log

Release files / pyramid_exclog-1.3-py3-none-any.whl

Download URL pyramid_exclog-1.3-py3-none-any.whl
Size 6.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8de9c7fc7bd136af839b2b869a3724189062234be953c9666d11d7a172b2d694
BLAKE2b-256 checksum
How to use checksums
424c0a7ed3570883de80e87d7cb045fd1a194d19b5d7b4ee238652cce8508852
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.

Transparency log

Security for pyramid-exclog 1.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for pyramid_exclog-1.3.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page