Skip to main content

ZConfig logging support for raven

Project description

This package allows enabling raven, the Python interfacet to Sentry via a ZConfig logging configuration like:

  %import j1m.ravenzconfig

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:

   %import j1m.ravenzconfig
     level WARNING
     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

The defaults for level and sample_rate are ERROR and 1.0. For other options, other than the required dsn, the defaults are unset.


0.1.1 (2017-06-12)

  • Fixed a packaging bug.

0.1.0 (2017-06-12)

Initial release

Download files

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

Files for j1m.ravenzconfig, version 0.1.1
Filename, size File type Python version Upload date Hashes
Filename, size j1m.ravenzconfig-0.1.1.tar.gz (4.4 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page