Changeset cee5c78 in sasview for src/sas/logger_config.py
- Timestamp:
- Nov 9, 2017 8:41:55 AM (6 years ago)
- 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:
- 7fb471d
- Parents:
- b3e8629
- git-author:
- Piotr Rozyczko <rozyczko@…> (10/27/17 03:42:57)
- git-committer:
- Piotr Rozyczko <rozyczko@…> (11/09/17 08:41:55)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/logger_config.py
rf4a1433 rcee5c78 49 49 ''' 50 50 for handler in logger.handlers or logger.parent.handlers: 51 handler.setLevel(logging.DEBUG) 51 #handler.setLevel(logging.DEBUG) 52 handler.setLevel(logging.WARNING) 52 53 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) 54 56 55 57 def _find_config_file(self, filename="logging.ini"):
Note: See TracChangeset
for help on using the changeset viewer.