diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2022-05-08 16:07:49 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-08 16:07:49 (GMT) |
commit | 580163d6a9870b02e0cdb0e9fa2629d7b5d51124 (patch) | |
tree | 8002b60bac8c68cc91534fb47298ad55c9d166f4 | |
parent | baed0c31ee1181c95fbadb57614eecaf5ddabf22 (diff) | |
download | cpython-580163d6a9870b02e0cdb0e9fa2629d7b5d51124.zip cpython-580163d6a9870b02e0cdb0e9fa2629d7b5d51124.tar.gz cpython-580163d6a9870b02e0cdb0e9fa2629d7b5d51124.tar.bz2 |
gh-92417: `logging` docs: Remove warning that only applies to Python <3.2 (GH-92425)
(cherry picked from commit 318c4e91ef166bcd5d513bb42b9156d54d423d4a)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
-rw-r--r-- | Doc/library/logging.rst | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/Doc/library/logging.rst b/Doc/library/logging.rst index 9d6167c..f85c691 100644 --- a/Doc/library/logging.rst +++ b/Doc/library/logging.rst @@ -1073,16 +1073,6 @@ functions. Logs a message with level *level* on the root logger. The other arguments are interpreted as for :func:`debug`. - .. note:: The above module-level convenience functions, which delegate to the - root logger, call :func:`basicConfig` to ensure that at least one handler - is available. Because of this, they should *not* be used in threads, - in versions of Python earlier than 2.7.1 and 3.2, unless at least one - handler has been added to the root logger *before* the threads are - started. In earlier versions of Python, due to a thread safety shortcoming - in :func:`basicConfig`, this can (under rare circumstances) lead to - handlers being added multiple times to the root logger, which can in turn - lead to multiple messages for the same event. - .. function:: disable(level=CRITICAL) Provides an overriding level *level* for all loggers which takes precedence over |