HEX
Server: LiteSpeed
System: Linux standart9.isimtescil.net 3.10.0-962.3.2.lve1.5.26.7.el7.x86_64 #1 SMP Wed Oct 2 07:53:12 EDT 2019 x86_64
User: karalev (5310)
PHP: 8.2.29
Disabled: NONE
Upload Files
File: //opt/cloudlinux/venv/lib/python3.11/site-packages/raven/conf/__pycache__/__init__.cpython-311.pyc
�

�h���2�dZddlmZddlZdgZdZefd�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�southz
sentry.errorszdjango.request�dillc�(�tj��}|jtt|j��vrdS|�|��|D]C}tj|��}d|_|�tj�����DdS)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_names    �H/opt/cloudlinux/venv/lib/python3.11/site-packages/raven/conf/__init__.pyrrs���&�
�
 �
 �F���C��f�o�6�6�6�6��u�
���g�����3�3���"�;�/�/�� ������'�/�1�1�2�2�2�2��4�)�__doc__�
__future__rr
�__all__�EXCLUDE_LOGGER_DEFAULTSr�rr�<module>rs_����'�&�&�&�&�&������
��	��$;������r