Skip to main content

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.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.

Release files for pyramid-exclog 1.1

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.1
File Size Uploaded
pyramid_exclog-1.1.tar.gz 23.5 kB Details

Built distribution (wheel)

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

Total release size: 29.6 kB

Release files / pyramid_exclog-1.1.tar.gz

Download URL pyramid_exclog-1.1.tar.gz
Size 23.5 kB
Tags Source
SHA-256 checksum
How to use checksums
4e5dab607fc689f35f07dc389c6f5422a010cf43ba92e8c2103ff88999cf283c
BLAKE2b-256 checksum
How to use checksums
aa700883c70820752aa751eef4ec2e275d2271a7027499cc718c7ca99c1c4838
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/3.7.3 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.10

Release files / pyramid_exclog-1.1-py2.py3-none-any.whl

Download URL pyramid_exclog-1.1-py2.py3-none-any.whl
Size 6.1 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
85293df9f76fc0c6a163d8921882147177618b0d7780f047366f55f968b04850
BLAKE2b-256 checksum
How to use checksums
1123c8c0c593aac0e65f57f2a1a94a73813cb6e74804cf1196eacb997da271c8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/3.7.3 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.10

Release history Release notifications | RSS feed

This release

1.1 This release

2 release files

1.0

2 release files

0.8

2 release files

0.7

1 release file

0.6

1 release file

0.5

1 release file

0.4

1 release file

0.3

1 release file

0.2

1 release file

0.1

1 release file

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