Message361287
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 |
|
Date |
User |
Action |
Args |
2020-02-03 12:29:54 | flipdazed | set | recipients:
+ flipdazed, docs@python |
2020-02-03 12:29:54 | flipdazed | set | messageid: <1580732994.06.0.683672257184.issue39540@roundup.psfhosted.org> |
2020-02-03 12:29:54 | flipdazed | link | issue39540 messages |
2020-02-03 12:29:53 | flipdazed | create | |
|