AlkantarClanX12

Your IP : 3.149.231.107


Current Path : /opt/alt/python27/lib/python2.7/site-packages/raven/conf/
Upload File :
Current File : //opt/alt/python27/lib/python2.7/site-packages/raven/conf/__init__.pyc

�
��Yc@@sAdZddlmZddlZdgZdZed
�ZdS(s�
raven.conf
~~~~~~~~~~

:copyright: (c) 2010-2012 by the Sentry Team, see AUTHORS for more details.
:license: BSD, see LICENSE for more details.
i(tabsolute_importNt
setup_loggingtraventgunicorntsouths
sentry.errorssdjango.requestcC@sxtj�}|jtt|j�kr+tS|j|�x9|D]1}tj|�}t|_|jtj	��q?Wt
S(s�
    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.
    (tloggingt	getLoggert	__class__tmapttypethandlerstFalset
addHandlert	propagatet
StreamHandlertTrue(thandlertexcludetloggertlogger_name((sD/opt/alt/python27/lib/python2.7/site-packages/raven/conf/__init__.pyRs

	(RRRs
sentry.errorssdjango.request(t__doc__t
__future__RRt__all__tEXCLUDE_LOGGER_DEFAULTSR(((sD/opt/alt/python27/lib/python2.7/site-packages/raven/conf/__init__.pyt<module>s