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:
Alfredo Moralejo 2018-01-24 09:26:52 +01:00
parent b30a264a2a
commit 42b3291cd7
1 changed files with 1 additions and 1 deletions

View File

@ -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.