Update debug log

This commit is contained in:
Nathan Chapman 2022-09-04 17:00:54 -06:00
parent ea028a7642
commit db45fd2d6f

View File

@ -134,13 +134,18 @@ LOGGING = {
'version': 1, 'version': 1,
'disable_existing_loggers': True, 'disable_existing_loggers': True,
'handlers': { 'handlers': {
'console': { 'file': {
'class': 'logging.StreamHandler', 'level': 'DEBUG',
'class': 'logging.FileHandler',
'filename': '/home/nathanchapman/debug.log',
}, },
}, },
'root': { 'loggers': {
'handlers': ['console'], 'django': {
'level': 'WARNING', 'handlers': ['file'],
'level': 'DEBUG',
'propagate': True,
},
}, },
} }