Change django.utils.log.NullHandler to logging.NullHandler

django.utils.log.NullHandler was removed in Django 1.9. logging.NullHandler
wad added to Python standard library since 2.7 so we should use it now.

Change-Id: I38f3f1d592f5456efc7dc94c0677a0a594722fbd
This commit is contained in:
Ivan Kolodyazhny 2018-01-26 11:20:51 +02:00
parent c83606d0d9
commit b28b8e2b9a
1 changed files with 1 additions and 1 deletions

View File

@ -268,7 +268,7 @@ The standard installation uses a non-encrypted HTTP channel.
'handlers': { 'handlers': {
'null': { 'null': {
'level': 'DEBUG', 'level': 'DEBUG',
'class': 'django.utils.log.NullHandler', 'class': 'logging.NullHandler',
}, },
'console': { 'console': {
# Set the level to "DEBUG" for verbose output logging. # Set the level to "DEBUG" for verbose output logging.