Changeset 669
- Timestamp:
- Oct 23, 2007 9:19:03 AM (13 years ago)
- Location:
- branches/testScripts
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/testScripts/NBlogMessages.py
r668 r669 12 12 logMsg = time.ctime(time.time())+': ' 13 13 logMsg += msg 14 if len(NBuserConfig.LOGFILE) == 0 or NBuserConfig.LOGFILE.isspace():14 if NBuserConfig.LOGPRINT : 15 15 print logMsg 16 else:16 if len(NBuserConfig.LOGFILE) > 0 and not NBuserConfig.LOGFILE.isspace() : 17 17 logfile=open(NBuserConfig.NIGHTLY_BUILD_ROOT_DIR+'/'+NBuserConfig.LOGFILE, 'a') 18 18 logfile.write(logMsg+'\n') -
branches/testScripts/NBuserConfig.py
r668 r669 21 21 22 22 #---------------------------------------------------------------------- 23 # LOGPRINT: 24 # switch for logoutput to stdout. If set to 1 (default) log will go to 25 # stdout, if set to 0, then not. 23 26 # LOGFILE: 24 # file where log messages from the nightlyBuild system will be stored25 # If no file is given, then we will print to stdout.27 # If not empty, then log messages will go to this file. 28 # If LOGPRINT is 1, then log messages will go to stdout as well. 26 29 # The LOGFILE will be used relative to the NIGHTLY_BUILD_ROOT_DIR, i.e., 27 30 # log will be written into NIGHTLY_BUILD_ROOT_DIR+'/'+LOGFILE 28 31 #---------------------------------------------------------------------- 29 32 33 LOGPRINT='1' 30 34 LOGFILE='' 31 35 … … 168 172 # CONFIGURE_FLAGS = userParameters.data['CONFIGURE_FLAGS'] 169 173 # LOGFILE = userParameters.data['LOGFILE'] 174 # LOGPRINT = userParameters.data['LOGPRINT'] -
branches/testScripts/userParametersEmpty.py
r668 r669 17 17 'DOWNLOAD_3RD_PARTY': '', 18 18 'CONFIGURE_FLAGS': '', 19 'LOGFILE': '' 19 'LOGFILE': '', 20 'LOGPRINT': '1', 20 21 }
Note: See TracChangeset
for help on using the changeset viewer.