Commit cbe59f6c authored by Joren Vrancken's avatar Joren Vrancken
Browse files

Merge branch 'feature/file-logging' into 'master'

Add FileHandler for django logging

Closes #858

See merge request !1226
parents 11163857 60ba5e28
......@@ -143,10 +143,15 @@ LOGGING = {
'class': 'logging.StreamHandler',
'formatter': 'verbose'
},
'logfile': {
'level': 'DEBUG',
'class': 'logging.FileHandler',
'filename': '/concrexit/log/django.log',
}
},
'loggers': {
'django': {
'handlers': ['console'],
'handlers': ['console', 'logfile'],
'level': 'INFO',
},
},
......
Supports Markdown
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