Move NullHandler to logging module
django.utils.log.NullHandler has been removed in django 1.9. Switching to use NullHandler from logging module is needed to upgrade django. Change-Id: Ie4b97a715bedf967e28fbac5a6640a8252115f5e
This commit is contained in:
parent
b30a264a2a
commit
42b3291cd7
|
@ -694,7 +694,7 @@ LOGGING = {
|
|||
'handlers': {
|
||||
'null': {
|
||||
'level': 'DEBUG',
|
||||
'class': 'django.utils.log.NullHandler',
|
||||
'class': 'logging.NullHandler',
|
||||
},
|
||||
'console': {
|
||||
# Set the level to "DEBUG" for verbose output logging.
|
||||
|
|
Loading…
Reference in New Issue