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
(cherry picked from commit b28b8e2b9a)
This commit is contained in:
Ivan Kolodyazhny 2018-01-26 11:20:51 +02:00 committed by Vasyl Saienko
parent 705caba41f
commit 6d96f8c7bb
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': {
'null': {
'level': 'DEBUG',
'class': 'django.utils.log.NullHandler',
'class': 'logging.NullHandler',
},
'console': {
# Set the level to "DEBUG" for verbose output logging.