ZConfig logging configuration

ZConfig provides a configuration mechanism for the Python logging module.

To learn more, see:


To use with sentry, use the sentry handler tag:

  level INFO
   path ${buildout:directory}/var/{:_buildout_section_name_}.log
   level INFO

  %import raven.contrib.zconfig
    dsn ___DSN___
    level ERROR

This configuration retains normal logging to a logfile, but adds Sentry logging for ERRORs.

All options of raven.base.Client are supported.

In this guide