File tree 1 file changed +6
-5
lines changed
1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -242,9 +242,9 @@ is the module's name in the Python package namespace.
242
242
above example). In such circumstances, it is likely that specialized
243
243
:class: `Formatter `\ s would be used with particular :class: `Handler `\ s.
244
244
245
- If no handler is attached to this logger (or its parents if
246
- :attr: `Logger.propagate ` evaluates to true), the message will be sent to
247
- the handler set on :attr: `lastResort `.
245
+ If no handler is attached to this logger (or any of its ancestors,
246
+ taking into account the relevant :attr: `Logger.propagate ` attributes),
247
+ the message will be sent to the handler set on :attr: `lastResort `.
248
248
249
249
.. versionchanged :: 3.2
250
250
The *stack_info * parameter was added.
@@ -1042,8 +1042,9 @@ functions.
1042
1042
above example). In such circumstances, it is likely that specialized
1043
1043
:class: `Formatter `\ s would be used with particular :class: `Handler `\ s.
1044
1044
1045
- The function will call :func: `basicConfig ` if the root logger doesn't have
1046
- any handler attached.
1045
+ This function (as well as :func: `info `, :func: `warning `, :func: `error ` and
1046
+ :func: `critical `) will call :func: `basicConfig ` if the root logger doesn't
1047
+ have any handler attached.
1047
1048
1048
1049
.. versionchanged :: 3.2
1049
1050
The *stack_info * parameter was added.
You can’t perform that action at this time.
0 commit comments