File tree 1 file changed +0
-10
lines changed
1 file changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -1080,16 +1080,6 @@ functions.
1080
1080
Logs a message with level *level * on the root logger. The other arguments are
1081
1081
interpreted as for :func: `debug `.
1082
1082
1083
- .. note :: The above module-level convenience functions, which delegate to the
1084
- root logger, call :func: `basicConfig ` to ensure that at least one handler
1085
- is available. Because of this, they should *not * be used in threads,
1086
- in versions of Python earlier than 2.7.1 and 3.2, unless at least one
1087
- handler has been added to the root logger *before * the threads are
1088
- started. In earlier versions of Python, due to a thread safety shortcoming
1089
- in :func: `basicConfig `, this can (under rare circumstances) lead to
1090
- handlers being added multiple times to the root logger, which can in turn
1091
- lead to multiple messages for the same event.
1092
-
1093
1083
.. function :: disable(level=CRITICAL)
1094
1084
1095
1085
Provides an overriding level *level * for all loggers which takes precedence over
You can’t perform that action at this time.
0 commit comments