This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author flipdazed
Recipients docs@python, flipdazed
Date 2020-02-03.12:29:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1580732994.06.0.683672257184.issue39540@roundup.psfhosted.org>
In-reply-to
Content
If `logger_name` is a hierarchy format (e.g. `logger_name = 'parent.child'`) and the logger name `'parent'` has not been created, the function call `logging.getLogger(logger_name)` will create all loggers in the hierarchy (in this instance two loggers, `'parent'` and `'parent.child'` will be created)

This is not documented anywhere in the logging documentation. Suggest that this is detailed under `logging.getLogger`

More info...
https://stackoverflow.com/q/59990300/4013571
History
Date User Action Args
2020-02-03 12:29:54flipdazedsetrecipients: + flipdazed, docs@python
2020-02-03 12:29:54flipdazedsetmessageid: <1580732994.06.0.683672257184.issue39540@roundup.psfhosted.org>
2020-02-03 12:29:54flipdazedlinkissue39540 messages
2020-02-03 12:29:53flipdazedcreate