We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ce0948f + 7a5471a commit e3badfeCopy full SHA for e3badfe
readthedocs/settings/base.py
@@ -390,6 +390,9 @@ def USE_PROMOS(self): # noqa
390
'filename': os.path.join(LOGS_ROOT, 'debug.log'),
391
'formatter': 'default',
392
},
393
+ 'null': {
394
+ 'class': 'logging.NullHandler',
395
+ },
396
397
'loggers': {
398
'': { # root logger
@@ -403,5 +406,9 @@ def USE_PROMOS(self): # noqa
403
406
# Don't double log at the root logger for these.
404
407
'propagate': False,
405
408
409
+ 'django.security.DisallowedHost': {
410
+ 'handlers': ['null'],
411
+ 'propagate': False,
412
413
414
}
0 commit comments