Changeset 12979 for trunk/DataCheck


Ignore:
Timestamp:
03/01/12 11:32:40 (13 years ago)
Author:
Daniela Dorner
Message:
small changes in logging
Location:
trunk/DataCheck
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/DataCheck/FillAuxData.sh

    r12969 r12979  
    9999#dates=( "2012/02/21" "2012/02/20" "2012/02/19" "2012/02/18" )
    100100printprocesslog "INFO processing the following night(s): "${dates[@]}
    101 echo  `date`": processing the following night(s): "${dates[@]}
     101echo  `date`": processing the following night(s): "${dates[@]} >> $logfile 2>&1
    102102
    103103# do filling of aux data
     
    180180   do
    181181      printprocesslog "INFO processing file number "$runnumber"_"`printf %03d $filenum`
    182       echo  `date`": processing file number "$runnumber"_"`printf %03d $filenum`
     182      echo  `date`": processing file number "$runnumber"_"`printf %03d $filenum` >> $logfile 2>&1
    183183      # get information from rawfile
    184184      rawfile=$ziprawdata/$date/$runnumber"_"`printf %03d $filenum`.fits.gz
  • trunk/DataCheck/RsyncRaw.sh

    r12971 r12979  
    4141   if ! [ -d $rawdirdaq ]
    4242   then
    43       echo `date`": "$rawdirdaq" not found. Data were probably taken on data" >> $logfile 2>&1
    44       printprocesslog "WARN "$rawdirdaq" not found. Data were probably taken on data" >> $logfile 2>&1
     43      echo `date`": "$rawdirdaq" not found. No data available on daq." >> $logfile 2>&1
     44      printprocesslog "INFO "$rawdirdaq" not found. No data available on daq." >> $logfile 2>&1
    4545      continue
    4646   fi
Note: See TracChangeset for help on using the changeset viewer.