Changeset ebb0a55 in sasview
- Timestamp:
- Apr 5, 2017 7:59:04 AM (8 years ago)
- Branches:
- master, 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, costrafo411, magnetic_scatt, release-4.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- 3608cd1
- Parents:
- 64ca561
- Location:
- test
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
test/logging.ini
r64ca561 rebb0a55 35 35 36 36 [loggers] 37 keys= test,sas37 keys=root,sas 38 38 39 [logger_ test]39 [logger_root] 40 40 level=DEBUG 41 formatter=default42 41 handlers=console,log_file 42 propagate=0 43 43 44 44 [logger_sas] … … 46 46 qualname=sas 47 47 handlers=console,log_file 48 propagate=0 -
test/utest_sasview.py
r463e7ffc rebb0a55 8 8 import logging.config 9 9 LOGGER_CONFIG_FILE = os.path.join(os.path.abspath(os.path.dirname(__file__)), 'logging.ini') 10 logging.config.fileConfig(LOGGER_CONFIG_FILE, disable_existing_loggers=False) 10 print LOGGER_CONFIG_FILE 11 logging.config.fileConfig(LOGGER_CONFIG_FILE) 11 12 logger = logging.getLogger(__name__) 12 13
Note: See TracChangeset
for help on using the changeset viewer.