summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorVinay Sajip <vinay_sajip@yahoo.co.uk>2013-01-21 21:57:10 (GMT)
committerVinay Sajip <vinay_sajip@yahoo.co.uk>2013-01-21 21:57:10 (GMT)
commit52b3d34d1c8a976ae0c154e5aae8390b10510a8a (patch)
tree72862e7218822d43306b69905c045d402581d90a /Doc
parent6c4c16cdb8799c6449b4c4854be11e2458b9797c (diff)
downloadcpython-52b3d34d1c8a976ae0c154e5aae8390b10510a8a.zip
cpython-52b3d34d1c8a976ae0c154e5aae8390b10510a8a.tar.gz
cpython-52b3d34d1c8a976ae0c154e5aae8390b10510a8a.tar.bz2
Issue #17007: Made minor changes to documentation wording.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/logging.rst16
1 files changed, 8 insertions, 8 deletions
diff --git a/Doc/library/logging.rst b/Doc/library/logging.rst
index b612d0d..c2af8e8 100644
--- a/Doc/library/logging.rst
+++ b/Doc/library/logging.rst
@@ -81,14 +81,14 @@ is the module's name in the Python package namespace.
The constructor sets this attribute to ``True``.
- .. note:: If you attach a handler to several loggers, it may emit the same
- record multiple times. In general, you should not need to attach a
- handler to more than one logger - if you just attach it to the
- appropriate logger which is highest in the logger hierarchy, then it
- will see all events logged by all descendant loggers, provided that
- their propagate setting is left set to ``True``. A common scenario is to
- attach handlers only to the root logger, and let propagation take care of
- the rest.
+ .. note:: If you attach a handler to a logger *and* one or more of its
+ ancestors, it may emit the same record multiple times. In general, you
+ should not need to attach a handler to more than one logger - if you just
+ attach it to the appropriate logger which is highest in the logger
+ hierarchy, then it will see all events logged by all descendant loggers,
+ provided that their propagate setting is left set to ``True``. A common
+ scenario is to attach handlers only to the root logger, and to let
+ propagation take care of the rest.
.. method:: Logger.setLevel(lvl)