Hugh logging…………
This commit is contained in:
parent
fd522bc0de
commit
aa368ec5eb
|
@ -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:
|
||||||
"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 = (
|
||||||
|
|
Loading…
Reference in New Issue