[Swift-commit] r2321 - log-processing/libexec

noreply at svn.ci.uchicago.edu noreply at svn.ci.uchicago.edu
Mon Nov 3 17:28:45 CST 2008


Author: benc
Date: 2008-11-03 17:28:45 -0600 (Mon, 03 Nov 2008)
New Revision: 2321

Modified:
   log-processing/libexec/kickstarts-to-event
Log:
slightly less voluminous output in kickstart processing

Modified: log-processing/libexec/kickstarts-to-event
===================================================================
--- log-processing/libexec/kickstarts-to-event	2008-11-03 23:13:30 UTC (rev 2320)
+++ log-processing/libexec/kickstarts-to-event	2008-11-03 23:28:45 UTC (rev 2321)
@@ -1,8 +1,6 @@
 #!/bin/bash
 
 while read t d id rest; do
-  echo processing job $id >&2
-  echo record=$(find ${KDIR} -name ${id}-kickstart.xml) >&2
   record=$(find ${KDIR} -name ${id}-kickstart.xml)
 
   if [ "X$record" != "X" ] && [ -f $record ] ; then
@@ -12,11 +10,12 @@
     DURATION=$(grep "<mainjob " $record | sed 's/^.*duration="\([^"]*\)".*$/\1/')
     if [ "X$START" != "X" ] && [ "X$DURATION" != "X" ]; then
       echo $START $DURATION $record
+      echo Processed kickstart record $record >&2
     else
-      echo bad record $record >&2
+      echo Bad kickstart record $record >&2
     fi
   else
-    echo no record for $id >&2
+    echo No kickstart record for $id >&2
   fi
 
 done < execute2.event




More information about the Swift-commit mailing list