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:
parent
c83606d0d9
commit
b28b8e2b9a
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user