HEX
Server: Apache
System: Linux zacp120.webway.host 4.18.0-553.50.1.lve.el8.x86_64 #1 SMP Thu Apr 17 19:10:24 UTC 2025 x86_64
User: govancoz (1003)
PHP: 8.3.26
Disabled: exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Upload Files
File: //opt/alt/python37/lib/python3.7/site-packages/raven/conf/__pycache__/__init__.cpython-37.pyc
B

��Y�@s2dZddlmZddlZdgZdZefdd�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)�ravenZgunicornZsouthz
sentry.errorszdjango.requestcCsXt��}|jtt|j�krdS|�|�x*|D]"}t�|�}d|_|�t���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/python37/lib/python3.7/site-packages/raven/conf/__init__.pyrs


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