I am receiving a lot of Invalid HTTP_HOST header messages from my Django web application-
[Django] ERROR: Invalid HTTP_HOST header: \'www.bing.com\'.Y
Updated for Django 1.9, per the docs.
LOGGING = { 'version': 1, 'disable_existing_loggers': False, 'handlers': { 'null': { 'class': 'logging.NullHandler', }, }, 'loggers': { 'django.security.DisallowedHost': { 'handlers': ['null'], 'propagate': False, }, }, }