-
-
Notifications
You must be signed in to change notification settings - Fork 32.5k
Closed
Labels
docsDocumentation in the Doc dirDocumentation in the Doc dir
Description
Documentation
The flow chart in the logging HOWTO is very helpful in understanding how the logging module works. However, the flow chart does not make clear why a logger with no configured handlers can still emit records.
The reason is lastResort
, which is used if no handlers are found in the logger hierarchy as documented further down in the HOWTO: https://docs.python.org/3/howto/logging.html#what-happens-if-no-configuration-is-provided.
I suggest updating the flow chart to include it.
Linked PRs
- gh-121035: Update logging flow chart to include lastResort #121036
- [3.12] gh-121035: Update logging flow chart to include the lastResort handler. (GH-121036) #121105
- [3.13] gh-121035: Update logging flow chart to include the lastResort handler. (GH-121036) #121106
- gh-121035: Improve logging flow diagram for dark/light modes. #121254
- gh-121035: Further improve logging flow diagram with respect to dark/… #121265
- [3.12] gh-121035: Improve logging flow diagram for dark/light modes. … #121316
- [3.13] gh-121035: Improve logging flow diagram for dark/light modes. … #121317
- [3.13] gh-121035: Further improve logging flow diagram with respect t… #121320
- [3.12] gh-121035: Further improve logging flow diagram with respect t… #121321
- gh-121035: Update PNG image for logging flow diagram. #121323
- [3.13] gh-121035: Update PNG image for logging flow diagram. (GH-121323) #121324
- [3.12] gh-121035: Update PNG image for logging flow diagram. (GH-121323) #121325
Metadata
Metadata
Assignees
Labels
docsDocumentation in the Doc dirDocumentation in the Doc dir
Projects
Status
Done