SILENT KILLERPanel

Current Path: > > opt > alt > python38 > lib > > python3.8 > site-packages > sentry_sdk > >


Operation   : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Software     : Apache
Server IP    : 162.0.232.56 | Your IP: 216.73.216.111
Domains      : 1034 Domain(s)
Permission   : [ 0755 ]

Files and Folders in: //opt/alt/python38/lib//python3.8/site-packages/sentry_sdk//

NameTypeSizeLast ModifiedActions
__pycache__ Directory - -
integrations Directory - -
__init__.py File 1437 bytes April 05 2019 23:15:16.
_compat.py File 2226 bytes April 05 2019 23:15:16.
api.py File 2884 bytes April 05 2019 23:15:16.
client.py File 8599 bytes April 05 2019 23:15:16.
consts.py File 2258 bytes April 05 2019 23:15:16.
debug.py File 1037 bytes April 05 2019 23:15:16.
hub.py File 13023 bytes April 05 2019 23:15:16.
scope.py File 7193 bytes April 05 2019 23:15:16.
transport.py File 6951 bytes April 05 2019 23:15:16.
utils.py File 27563 bytes April 05 2019 23:15:16.
worker.py File 3549 bytes April 05 2019 23:15:16.

Reading File: //opt/alt/python38/lib//python3.8/site-packages/sentry_sdk///debug.py

import sys
import logging

from sentry_sdk import utils
from sentry_sdk.hub import Hub
from sentry_sdk.utils import logger
from sentry_sdk.client import _client_init_debug
from logging import LogRecord


class _HubBasedClientFilter(logging.Filter):
    def filter(self, record):
        # type: (LogRecord) -> bool
        if _client_init_debug.get(False):
            return True
        hub = Hub.current
        if hub is not None and hub.client is not None:
            return hub.client.options["debug"]
        return False


def init_debug_support():
    if not logger.handlers:
        configure_logger()
    configure_debug_hub()


def configure_logger():
    _handler = logging.StreamHandler(sys.stderr)
    _handler.setFormatter(logging.Formatter(" [sentry] %(levelname)s: %(message)s"))
    logger.addHandler(_handler)
    logger.setLevel(logging.DEBUG)
    logger.addFilter(_HubBasedClientFilter())


def configure_debug_hub():
    def _get_debug_hub():
        return Hub.current

    utils._get_debug_hub = _get_debug_hub

SILENT KILLER Tool