Your IP : 216.73.216.61


Current Path : /opt/alt/python35/lib/python3.5/site-packages/raven/conf/__pycache__/
Upload File :
Current File : //opt/alt/python35/lib/python3.5/site-packages/raven/conf/__pycache__/__init__.cpython-35.pyc



��Y�@sDdZddlmZddlZdgZdZed
d�ZdS)z�
raven.conf
~~~~~~~~~~

:copyright: (c) 2010-2012 by the Sentry Team, see AUTHORS for more details.
:license: BSD, see LICENSE for more details.
�)�absolute_importN�
setup_logging�raven�gunicorn�south�
sentry.errors�django.requestcCsxtj�}|jtt|j�kr+dS|j|�x9|D]1}tj|�}d|_|jtj��q?WdS)a�
    Configures logging to pipe to Sentry.

    - ``exclude`` is a list of loggers that shouldn't go to Sentry.

    For a typical Python install:

    >>> from raven.handlers.logging import SentryHandler
    >>> client = Sentry(...)
    >>> setup_logging(SentryHandler(client))

    Within Django:

    >>> from raven.contrib.django.handlers import SentryHandler
    >>> setup_logging(SentryHandler())

    Returns a boolean based on if logging was configured or not.
    FT)	�logging�	getLogger�	__class__�map�type�handlers�
addHandler�	propagate�
StreamHandler)�handler�exclude�logger�logger_name�r�D/opt/alt/python35/lib/python3.5/site-packages/raven/conf/__init__.pyrs

	)rrrrr)�__doc__�
__future__rr	�__all__ZEXCLUDE_LOGGER_DEFAULTSrrrrr�<module>s