Changeset 09983d1 in sasview
- Timestamp:
- Apr 11, 2017 4:54:56 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:
- f36e01f
- Parents:
- 777146c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasview/logger_config.py
r777146c r09983d1 56 56 def _find_config_file(self, filename="logging.ini"): 57 57 ''' 58 The config file is in: 59 Debug ./sasview/ 60 Packaging: sas/sasview/ 61 Packaging / production does not work well with absolute paths 62 thus the multiple paths below 58 63 ''' 59 64 places_to_look_for_conf_file = [ … … 72 77 pass 73 78 74 print("Running python in: %s"%os.getcwd())75 print("Full path for %s is: %s"%(__file__, os.path.dirname(__file__)))76 77 79 for filepath in places_to_look_for_conf_file: 78 print("Checking if path exists: %s"%filepath)79 80 if os.path.exists(filepath): 80 81 self.config_file = filepath 81 82 return 82 print(" Logging.ini not found...")83 print("ERROR: Logging.ini not found...") 83 84 self.config_file = None
Note: See TracChangeset
for help on using the changeset viewer.