Changes in src/sas/logger_config.py [cee5c78:e4335ae] in sasview
- 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.