-
-
Notifications
You must be signed in to change notification settings - Fork 30.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Include lastResort in logging HOWTO flow chart #121035
Labels
docs
Documentation in the Doc dir
Comments
bessman
added a commit
to bessman/cpython
that referenced
this issue
Jun 26, 2024
bessman
added a commit
to bessman/cpython
that referenced
this issue
Jun 26, 2024
bessman
added a commit
to bessman/cpython
that referenced
this issue
Jun 27, 2024
bessman
added a commit
to bessman/cpython
that referenced
this issue
Jun 27, 2024
vsajip
pushed a commit
that referenced
this issue
Jun 27, 2024
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Jun 27, 2024
…handler. (pythonGH-121036) (cherry picked from commit 237baf4) Co-authored-by: Alexander Bessman <[email protected]>
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Jun 27, 2024
…handler. (pythonGH-121036) (cherry picked from commit 237baf4) Co-authored-by: Alexander Bessman <[email protected]>
vsajip
pushed a commit
that referenced
this issue
Jun 27, 2024
vsajip
pushed a commit
that referenced
this issue
Jun 27, 2024
mrahtz
pushed a commit
to mrahtz/cpython
that referenced
this issue
Jun 30, 2024
vsajip
added a commit
to vsajip/cpython
that referenced
this issue
Jul 2, 2024
vsajip
added a commit
that referenced
this issue
Jul 2, 2024
vsajip
added a commit
that referenced
this issue
Jul 2, 2024
Akasurde
pushed a commit
to Akasurde/cpython
that referenced
this issue
Jul 3, 2024
Akasurde
pushed a commit
to Akasurde/cpython
that referenced
this issue
Jul 3, 2024
… dark/light modes. (pythonGH-121265)
vsajip
added a commit
to vsajip/cpython
that referenced
this issue
Jul 3, 2024
…odes. (pythonGH-121254) (cherry picked from commit bfe0e4d) Co-authored-by: Vinay Sajip <[email protected]>
vsajip
added a commit
to vsajip/cpython
that referenced
this issue
Jul 3, 2024
…odes. (pythonGH-121254) (cherry picked from commit bfe0e4d) Co-authored-by: Vinay Sajip <[email protected]>
vsajip
added a commit
that referenced
this issue
Jul 3, 2024
vsajip
added a commit
that referenced
this issue
Jul 3, 2024
vsajip
added a commit
to vsajip/cpython
that referenced
this issue
Jul 3, 2024
…pect to dark/light modes. (pythonGH-121265) (cherry picked from commit 0898354) Co-authored-by: Vinay Sajip <[email protected]>
vsajip
added a commit
to vsajip/cpython
that referenced
this issue
Jul 3, 2024
…pect to dark/light modes. (pythonGH-121265) (cherry picked from commit 0898354) Co-authored-by: Vinay Sajip <[email protected]>
This was referenced Jul 3, 2024
vsajip
added a commit
that referenced
this issue
Jul 3, 2024
vsajip
added a commit
that referenced
this issue
Jul 3, 2024
vsajip
added a commit
that referenced
this issue
Jul 3, 2024
vsajip
added a commit
to vsajip/cpython
that referenced
this issue
Jul 3, 2024
…ythonGH-121323) (cherry picked from commit 26d24ee) Co-authored-by: Vinay Sajip <[email protected]>
vsajip
added a commit
to vsajip/cpython
that referenced
this issue
Jul 3, 2024
…ythonGH-121323) (cherry picked from commit 26d24ee) Co-authored-by: Vinay Sajip <[email protected]>
This was referenced Jul 3, 2024
vsajip
added a commit
that referenced
this issue
Jul 3, 2024
vsajip
added a commit
that referenced
this issue
Jul 3, 2024
noahbkim
pushed a commit
to hudson-trading/cpython
that referenced
this issue
Jul 11, 2024
noahbkim
pushed a commit
to hudson-trading/cpython
that referenced
this issue
Jul 11, 2024
noahbkim
pushed a commit
to hudson-trading/cpython
that referenced
this issue
Jul 11, 2024
… dark/light modes. (pythonGH-121265)
noahbkim
pushed a commit
to hudson-trading/cpython
that referenced
this issue
Jul 11, 2024
estyxx
pushed a commit
to estyxx/cpython
that referenced
this issue
Jul 17, 2024
estyxx
pushed a commit
to estyxx/cpython
that referenced
this issue
Jul 17, 2024
estyxx
pushed a commit
to estyxx/cpython
that referenced
this issue
Jul 17, 2024
… dark/light modes. (pythonGH-121265)
estyxx
pushed a commit
to estyxx/cpython
that referenced
this issue
Jul 17, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
The text was updated successfully, but these errors were encountered: