Fix logging module imported unconditionally in production.py

This commit is contained in:
Nikita P. Shupeyko 2018-05-09 13:24:08 +03:00
parent df1ce737d5
commit a07327459c

View File

@ -1,5 +1,3 @@
import logging
from .base import * # noqa
from .base import env
@ -235,6 +233,8 @@ LOGGING = {
},
}
import logging
SENTRY_CELERY_LOGLEVEL = env.int('DJANGO_SENTRY_LOG_LEVEL', logging.INFO)
RAVEN_CONFIG = {
'dsn': SENTRY_DSN