Changeset 895e7359 in sasview for src/sas/logger_config.py


Ignore:
Timestamp:
Oct 27, 2017 1:42:57 AM (7 years ago)
Author:
Piotr Rozyczko <rozyczko@…>
Branches:
ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc
Children:
99ea1b0
Parents:
b0b09b9
Message:

Converted more syntax not covered by 2to3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/logger_config.py

    rf4a1433 r895e7359  
    4949        ''' 
    5050        for handler in logger.handlers or logger.parent.handlers: 
    51             handler.setLevel(logging.DEBUG) 
     51            #handler.setLevel(logging.DEBUG) 
     52            handler.setLevel(logging.WARNING) 
    5253        for name, _ in logging.Logger.manager.loggerDict.items(): 
    53             logging.getLogger(name).setLevel(logging.DEBUG) 
     54            #logging.getLogger(name).setLevel(logging.DEBUG) 
     55            logging.getLogger(name).setLevel(logging.WARNING) 
    5456 
    5557    def _find_config_file(self, filename="logging.ini"): 
Note: See TracChangeset for help on using the changeset viewer.