diff options
Diffstat (limited to 'docs/integrations/zconfig.rst')
-rw-r--r-- | docs/integrations/zconfig.rst | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/docs/integrations/zconfig.rst b/docs/integrations/zconfig.rst deleted file mode 100644 index 79d087a..0000000 --- a/docs/integrations/zconfig.rst +++ /dev/null @@ -1,33 +0,0 @@ -ZConfig logging configuration -============================= - -`ZConfig -<http://zconfig.readthedocs.io/en/latest/using-logging.html>`_ -provides a configuration mechanism for the Python logging module. - -To learn more, see: - - http://zconfig.readthedocs.io/en/latest/using-logging.html - -To use with sentry, use the sentry handler tag: - -.. code-block:: xml - - <logger> - level INFO - <logfile> - path ${buildout:directory}/var/{:_buildout_section_name_}.log - level INFO - </logfile> - - %import raven.contrib.zconfig - <sentry> - dsn ___DSN___ - level ERROR - </sentry> - </logger> - -This configuration retains normal logging to a logfile, but adds -Sentry logging for ERRORs. - -All options of :py:class:`raven.base.Client` are supported. |