Update debug log
This commit is contained in:
parent
ea028a7642
commit
db45fd2d6f
@ -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,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user