Changeset ebb0a55 in sasview


Ignore:
Timestamp:
Apr 5, 2017 7:59:04 AM (8 years ago)
Author:
Ricardo Ferraz Leal <ricleal@…>
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
Message:

Log for tests working now

Location:
test
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • test/logging.ini

    r64ca561 rebb0a55  
    3535 
    3636[loggers] 
    37 keys=test,sas 
     37keys=root,sas 
    3838 
    39 [logger_test] 
     39[logger_root] 
    4040level=DEBUG 
    41 formatter=default 
    4241handlers=console,log_file 
     42propagate=0 
    4343 
    4444[logger_sas] 
     
    4646qualname=sas 
    4747handlers=console,log_file 
     48propagate=0 
  • test/utest_sasview.py

    r463e7ffc rebb0a55  
    88import logging.config 
    99LOGGER_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) 
     10print LOGGER_CONFIG_FILE 
     11logging.config.fileConfig(LOGGER_CONFIG_FILE) 
    1112logger = logging.getLogger(__name__) 
    1213 
Note: See TracChangeset for help on using the changeset viewer.