Skip to content
Snippets Groups Projects
Verified Commit aa368ec5 authored by Eliot Berriot's avatar Eliot Berriot
Browse files

Hugh logging…………

parent fd522bc0
Branches
Tags
No related merge requests found
...@@ -46,7 +46,7 @@ logging.config.dictConfig( ...@@ -46,7 +46,7 @@ logging.config.dictConfig(
}, },
"loggers": { "loggers": {
"funkwhale_api": { "funkwhale_api": {
"level": logging.getLevelName(LOGLEVEL), "level": LOGLEVEL,
"handlers": ["console"], "handlers": ["console"],
# required to avoid double logging with root logger # required to avoid double logging with root logger
"propagate": False, "propagate": False,
...@@ -183,8 +183,6 @@ if RAVEN_ENABLED: ...@@ -183,8 +183,6 @@ if RAVEN_ENABLED:
"release": __version__, "release": __version__,
} }
THIRD_PARTY_APPS += ("raven.contrib.django.raven_compat",) THIRD_PARTY_APPS += ("raven.contrib.django.raven_compat",)
logging.getLogger("").addHandler("sentry")
logging.getLogger("funkwhale_api").addHandler("sentry")
# Apps specific for this project go here. # Apps specific for this project go here.
LOCAL_APPS = ( LOCAL_APPS = (
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment