Changeset 18700 for trunk/DataCheck


Ignore:
Timestamp:
12/21/16 12:36:32 (8 years ago)
Author:
Daniela Dorner
Message:
improved logging
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/DataCheck/Transfer/CheckTransfer.sh

    r18685 r18700  
    253253   if ! [ $numdatruns -eq $qla ]
    254254   then
    255       printprocesslog "WARN not all data runs are processed yet by the QLA for "$date"."
    256       echo "WARN not all data runs are processed yet by the QLA for "$date >> $logfile 2>&1
     255      printprocesslog "WARN not all data runs are processed yet by the QLA for "$date" (numdatruns "$numdatruns" numqla "$qla")."
     256      echo "WARN not all data runs are processed yet by the QLA for "$date" (numdatruns "$numdatruns" numqla "$qla")." >> $logfile 2>&1
    257257      result1="1-"
    258258   else
     
    386386   if ! [ ${newdaq[1]} -eq ${daq[1]} ]
    387387   then
    388       printprocesslog "WARN size of data doesn't agree on newdaq ("${newdaq[1]}") and daq ("${daq[1]}") for "$date
     388      printprocesslog "INFO size of data doesn't agree on newdaq ("${newdaq[1]}") and daq ("${daq[1]}") for "$date
    389389      echo "WARN size of data doesn't agree on newdaq ("${newdaq[1]}") and daq ("${daq[1]}") for "$date >> $logfile 2>&1
    390390      numdiff=`echo " $numdiff + 1 " | bc -l `
     
    399399   if ! [ ${zip[1]} -eq ${dl00[1]} ] && [ $date2 -gt 20120307 ]
    400400   then
    401       printprocesslog "WARN size of data doesn't agree on data ("${zip[1]}") and dl00 ("${dl00[1]}") for "$date
     401      printprocesslog "INFO size of data doesn't agree on data ("${zip[1]}") and dl00 ("${dl00[1]}") for "$date
    402402      echo "WARN size of data doesn't agree on data ("${zip[1]}") and dl00 ("${dl00[1]}") for "$date >> $logfile 2>&1
    403403      if ! [ ${dl00[1]} -eq -1 ]
     
    417417   if ! [ ${zip[1]} -eq ${archive[1]} ]
    418418   then
    419       printprocesslog "WARN size of data doesn't agree on data ("${zip[1]}") and in archive ("${archive[1]}") for "$date
     419      printprocesslog "INFO size of data doesn't agree on data ("${zip[1]}") and in archive ("${archive[1]}") for "$date
    420420      echo "WARN size of data doesn't agree on data ("${zip[1]}") and in archive ("${archive[1]}") for "$date >> $logfile 2>&1
    421421      if ! [ ${archive[1]} -eq -1 ]
     
    435435   if ! [ ${zip[1]} -eq ${wue[1]} ]
    436436   then
    437       printprocesslog "WARN size of data doesn't agree on data ("${zip[1]}") and in Wue ("${wue[1]}") for "$date
     437      printprocesslog "INFO size of data doesn't agree on data ("${zip[1]}") and in Wue ("${wue[1]}") for "$date
    438438      echo "WARN size of data doesn't agree on data ("${zip[1]}") and in Wue ("${wue[1]}") for "$date >> $logfile 2>&1
    439439      if ! [ ${wue[1]} -eq -1 ]
Note: See TracChangeset for help on using the changeset viewer.