ZConfig logging support for raven
This package allows enabling raven, the Python interfacet to Sentry via a ZConfig logging configuration like:
<logger>
%import j1m.ravenzconfig
<sentry>
dsn https://abc:def@example.com/42
</sentry>
</logger>
Additional options are supported, including logging level and options accepted by the raven client. See the raven client documentation.
Here’s an example that uses all of the options:
<logger>
%import j1m.ravenzconfig
<sentry>
level WARNING
dsn https://abc:def@example.com/42
site test-site
name test
release 42.0
environment testing
exclude_paths /a /b
include_paths /c /d
sample_rate 0.5
list_max_length 9
string_max_length 99
auto_log_stacks true
processors x y z
</sentry>
</logger>
The defaults for level and sample_rate are ERROR and 1.0. For other options, other than the required dsn, the defaults are unset.
Changes
0.1.1 (2017-06-12)
Fixed a packaging bug.
0.1.0 (2017-06-12)
Initial release
Metadata
Release files for j1m.ravenzconfig 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| j1m.ravenzconfig-0.1.1.tar.gz | 4.4 kB | Without provenance | Details for j1m.ravenzconfig-0.1.1.tar.gz |
Release files / j1m.ravenzconfig-0.1.1.tar.gz
| Download URL | j1m.ravenzconfig-0.1.1.tar.gz |
|---|---|
| Size | 4.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
72aedbf4f03e3334b08aae71059ca645d26280be1d542dcc15d19a494d5e11dc
|
|
BLAKE2b-256 checksum How to use checksums |
f7406d8a2fb3a347d4cb3d1dba9e791066ef9fd182305431d0f564fdce6c22a4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for j1m.ravenzconfig 0.1.1
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.