Hugh logging…………

This commit is contained in:
Eliot Berriot 2019-06-24 15:57:01 +02:00
parent fd522bc0de
commit aa368ec5eb
No known key found for this signature in database
GPG Key ID: DD6965E2476E5C27
1 changed files with 1 additions and 3 deletions

View File

@ -46,7 +46,7 @@ logging.config.dictConfig(
},
"loggers": {
"funkwhale_api": {
"level": logging.getLevelName(LOGLEVEL),
"level": LOGLEVEL,
"handlers": ["console"],
# required to avoid double logging with root logger
"propagate": False,
@ -183,8 +183,6 @@ if RAVEN_ENABLED:
"release": __version__,
}
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.
LOCAL_APPS = (