Remove sample debug config from development settings, it is done automatically now.
This commit is contained in:
@@ -19,39 +19,4 @@ INSTALLED_APPS += (
|
|||||||
|
|
||||||
WSGI_AUTO_RELOAD = True
|
WSGI_AUTO_RELOAD = True
|
||||||
|
|
||||||
LOGGING = {
|
|
||||||
'version': 1,
|
|
||||||
'disable_existing_loggers': True,
|
|
||||||
'formatters': {
|
|
||||||
'verbose': {
|
|
||||||
'format': '%(levelname)s %(asctime)s %(name)s %(process)d %(thread)d %(message)s'
|
|
||||||
},
|
|
||||||
'intermediate': {
|
|
||||||
'format': '%(name)s <%(process)d> [%(levelname)s] "%(funcName)s() %(message)s"'
|
|
||||||
},
|
|
||||||
'simple': {
|
|
||||||
'format': '%(levelname)s %(message)s'
|
|
||||||
},
|
|
||||||
},
|
|
||||||
'handlers': {
|
|
||||||
'console': {
|
|
||||||
'level': 'DEBUG',
|
|
||||||
'class': 'logging.StreamHandler',
|
|
||||||
'formatter': 'intermediate'
|
|
||||||
}
|
|
||||||
},
|
|
||||||
'loggers': {
|
|
||||||
'documents': {
|
|
||||||
'handlers': ['console'],
|
|
||||||
'propagate': True,
|
|
||||||
'level': 'DEBUG',
|
|
||||||
},
|
|
||||||
'common': {
|
|
||||||
'handlers': ['console'],
|
|
||||||
'propagate': True,
|
|
||||||
'level': 'DEBUG',
|
|
||||||
},
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
CELERY_EAGER_PROPAGATES_EXCEPTIONS = CELERY_ALWAYS_EAGER
|
CELERY_EAGER_PROPAGATES_EXCEPTIONS = CELERY_ALWAYS_EAGER
|
||||||
|
|||||||
Reference in New Issue
Block a user