Skip to content

Commit

Permalink
[3.0.x] More accurate terminology ("logger" instead of "logging handl…
Browse files Browse the repository at this point in the history
…er") in logging documentation.

Backport of aa6c620 from master
  • Loading branch information
Kal Sze authored and carltongibson committed Jan 9, 2020
1 parent b11761e commit 2efc832
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions docs/topics/logging.txt
Original file line number Diff line number Diff line change
Expand Up @@ -164,10 +164,9 @@ is a parent of the ``project.interesting`` logger.
Why is the hierarchy important? Well, because loggers can be set to
*propagate* their logging calls to their parents. In this way, you can
define a single set of handlers at the root of a logger tree, and
capture all logging calls in the subtree of loggers. A logging handler
defined in the ``project`` namespace will catch all logging messages
issued on the ``project.interesting`` and
``project.interesting.stuff`` loggers.
capture all logging calls in the subtree of loggers. A logger defined
in the ``project`` namespace will catch all logging messages issued on
the ``project.interesting`` and ``project.interesting.stuff`` loggers.

This propagation can be controlled on a per-logger basis. If
you don't want a particular logger to propagate to its parents, you
Expand Down

0 comments on commit 2efc832

Please sign in to comment.