🔥 Remove legacy sentry client
This commit is contained in:
1 parent
799548a90b
commit
49870595b0
2 files changed
+1
-18
No files matched your search
+1
-16
@@ -86,7 +86,6 @@ INSTALLED_APPS = [
|
||||
"django_extensions",
|
||||
"rest_framework",
|
||||
"easy_thumbnails",
|
||||
"raven.contrib.django.raven_compat",
|
||||
]
|
||||
LOCAL_APPS = [
|
||||
"main",
|
||||
@@ -113,16 +112,12 @@ LOGGING = {
|
||||
"disable_existing_loggers": False,
|
||||
"root": {
|
||||
"level": "INFO",
|
||||
"handlers": ["console", "sentry"],
|
||||
"handlers": ["console"],
|
||||
},
|
||||
"formatters": {
|
||||
"verbose": {"format": "%(levelname)s %(asctime)s %(module)s %(process)d %(thread)d %(message)s"},
|
||||
},
|
||||
"handlers": {
|
||||
"sentry": {
|
||||
"level": "WARNING",
|
||||
"class": "raven.contrib.django.raven_compat.handlers.SentryHandler",
|
||||
},
|
||||
"console": {
|
||||
"level": "DEBUG",
|
||||
"class": "logging.StreamHandler",
|
||||
@@ -135,16 +130,6 @@ LOGGING = {
|
||||
"handlers": ["console"],
|
||||
"propagate": False,
|
||||
},
|
||||
"raven": {
|
||||
"level": "WARNING",
|
||||
"handlers": ["console"],
|
||||
"propagate": False,
|
||||
},
|
||||
"sentry.errors": {
|
||||
"level": "WARNING",
|
||||
"handlers": ["console"],
|
||||
"propagate": False,
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
@@ -1,8 +1,6 @@
|
||||
import os
|
||||
from django.core.wsgi import get_wsgi_application
|
||||
from raven.contrib.django.middleware.wsgi import Sentry
|
||||
|
||||
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "bbssite.settings")
|
||||
|
||||
application = get_wsgi_application()
|
||||
application = Sentry(application)
|
||||
Reference in new issue
Block a user