Commit 99d335e8 authored by Valentin Samir's avatar Valentin Samir

Enable logging to stderr then running tests

parent 41f7bdad
...@@ -100,3 +100,27 @@ STATIC_URL = '/static/' ...@@ -100,3 +100,27 @@ STATIC_URL = '/static/'
CAS_NEW_VERSION_HTML_WARNING = False CAS_NEW_VERSION_HTML_WARNING = False
CAS_NEW_VERSION_EMAIL_WARNING = False CAS_NEW_VERSION_EMAIL_WARNING = False
LOGGING = {
'version': 1,
'disable_existing_loggers': False,
'formatters': {
'cas_file': {
'format': '%(asctime)s %(levelname)s %(message)s'
},
},
'handlers': {
'cas_stream': {
'level': 'INFO',
'class': 'logging.StreamHandler',
'formatter': 'cas_file',
},
},
'loggers': {
'cas_server': {
'handlers': ['cas_stream'],
'level': 'INFO',
'propagate': True,
},
},
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment