Changeset 200ce9c in sasview for src/sas/logger_config.py
- Timestamp:
- Jul 20, 2018 1:54:02 AM (6 years ago)
- Branches:
- ESS_GUI, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc
- Children:
- 6548a01
- Parents:
- a2b74bb (diff), e4335ae (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/logger_config.py
rcee5c78 re4335ae 7 7 8 8 import pkg_resources 9 10 9 11 10 ''' … … 29 28 logging.captureWarnings(True) 30 29 logger = logging.getLogger(self.name) 30 31 31 return logger 32 32 … … 38 38 self._update_all_logs_to_debug(logger) 39 39 logging.captureWarnings(True) 40 40 41 return logger 41 42 … … 49 50 ''' 50 51 for handler in logger.handlers or logger.parent.handlers: 51 #handler.setLevel(logging.DEBUG) 52 handler.setLevel(logging.WARNING) 52 handler.setLevel(logging.DEBUG) 53 53 for name, _ in logging.Logger.manager.loggerDict.items(): 54 #logging.getLogger(name).setLevel(logging.DEBUG) 55 logging.getLogger(name).setLevel(logging.WARNING) 54 logging.getLogger(name).setLevel(logging.DEBUG) 56 55 57 56 def _find_config_file(self, filename="logging.ini"):
Note: See TracChangeset
for help on using the changeset viewer.