File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -81,14 +81,14 @@ is the module's name in the Python package namespace.
8181
8282 The constructor sets this attribute to ``True ``.
8383
84- .. note :: If you attach a handler to several loggers, it may emit the same
85- record multiple times. In general, you should not need to attach a
86- handler to more than one logger - if you just attach it to the
87- appropriate logger which is highest in the logger hierarchy, then it
88- will see all events logged by all descendant loggers, provided that
89- their propagate setting is left set to ``True ``. A common scenario is to
90- attach handlers only to the root logger, and let propagation take care of
91- the rest.
84+ .. note :: If you attach a handler to a logger *and* one or more of its
85+ ancestors, it may emit the same record multiple times. In general, you
86+ should not need to attach a handler to more than one logger - if you just
87+ attach it to the appropriate logger which is highest in the logger
88+ hierarchy, then it will see all events logged by all descendant loggers,
89+ provided that their propagate setting is left set to ``True ``. A common
90+ scenario is to attach handlers only to the root logger, and to let
91+ propagation take care of the rest.
9292
9393.. method :: Logger.setLevel(lvl)
9494
You can’t perform that action at this time.
0 commit comments