8000 bpo-41898: add caveat on root logger seeing all messages in assertLog… · python/cpython@b2611fa · GitHub
[go: up one dir, main page]

Skip to content

Commit b2611fa

Browse files
bpo-41898: add caveat on root logger seeing all messages in assertLogs doc (GH-22526) (GH-22537)
(cherry picked from commit 1ed5443)
1 parent fd22823 commit b2611fa

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Doc/library/unittest.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1088,7 +1088,8 @@ Test cases
10881088

10891089
If given, *logger* should be a :class:`logging.Logger` object or a
10901090
:class:`str` giving the name of a logger. The default is the root
1091-
logger, which will catch all messages.
1091+
logger, which will catch all messages that were not blocked by a
1092+
non-propagating descendent logger.
10921093

10931094
If given, *level* should be either a numeric logging level or
10941095
its string equivalent (for example either ``"ERROR"`` or

0 commit comments

Comments
 (0)
0