Changeset c3eb858 in sasview


Ignore:
Timestamp:
Feb 28, 2018 4:04:16 AM (7 years ago)
Author:
Piotr Rozyczko <rozyczko@…>
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:
fde5bcd
Parents:
135f544
Message:

Don't display DEBUG level messages in the log explorer

Location:
src/sas/qtgui
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/sas/qtgui/Perspectives/Fitting/FittingWidget.py

    r06234fc rc3eb858  
    9898        # Globals 
    9999        self.initializeGlobals() 
     100 
     101        # Set up desired logging level 
     102        logging.disable(LocalConfig.DISABLE_LOGGING) 
    100103 
    101104        # Main GUI setup up 
     
    11571160        self.setFittingStopped() 
    11581161 
    1159         #assert result is not None 
    1160         if assert in None: 
     1162        if result is None: 
    11611163            msg = "Fitting failed after: %s s.\n" % GuiUtils.formatNumber(elapsed) 
    11621164            self.communicate.statusBarUpdateSignal.emit(msg) 
  • src/sas/qtgui/Utilities/LocalConfig.py

    r235d766 rc3eb858  
    44import time 
    55import os 
     6import logging 
    67 
    78#from sas.sasgui.guiframe.gui_style import GUIFRAME 
     
    135136USING_TWISTED = False 
    136137 
     138# Logging levels to disable, if any 
     139DISABLE_LOGGING = logging.DEBUG 
     140 
    137141# Time out for updating sasview 
    138142UPDATE_TIMEOUT = 2 
Note: See TracChangeset for help on using the changeset viewer.