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