Skip to content
Snippets Groups Projects

Add FileHandler for django logging

Merged Ghost User requested to merge feature/file-logging into master
All threads resolved!
@@ -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',
},
},
Loading