﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
30553	Misleading logging documentation about disable_existing_loggers default value.	darthdragon	Swatantra	"In the documentation it's stated that:

 ""If the disable_existing_loggers key in the LOGGING dictConfig is set to True (which is the default) ...""

But we can see in [https://github.com/django/django/blob/master/django/utils/log.py]  (master branch commit 10b44e4 at the time of writting) that it is set to False instead:

{{{
...
DEFAULT_LOGGING = {
    'version': 1,
    'disable_existing_loggers': False,
    'filters': {
...
}}}

Moving ""(which is the default)"" in the paragraph should be enough:

 ""If the disable_existing_loggers key in the LOGGING dictConfig is set to True then all loggers from the default configuration will be disabled. Disabled loggers are not the same as removed; the logger will still exist, but will silently discard anything logged to it, not even propagating entries to a parent logger. Thus you should be very careful using 'disable_existing_loggers': True; it’s probably not what you want. Instead, you can set disable_existing_loggers to False (which is the default) and redefine some or all of the default loggers; or you can set LOGGING_CONFIG to None and handle logging config yourself."""	Cleanup/optimization	closed	Documentation	dev	Normal	fixed	disable_existing_loggers logging		Ready for checkin	1	0	0	0	1	0
