[Swift-commit] r2194 - log-processing

noreply at svn.ci.uchicago.edu noreply at svn.ci.uchicago.edu
Tue Aug 26 09:41:23 CDT 2008


Author: benc
Date: 2008-08-26 09:41:21 -0500 (Tue, 26 Aug 2008)
New Revision: 2194

Modified:
   log-processing/log-to-karatasks-transitions
Log:
in the case of unknown statuses, put the status number into the log. this is useful when replication is happening because there is a replication status with value 100 that is not known by the task status prettyprinter

Modified: log-processing/log-to-karatasks-transitions
===================================================================
--- log-processing/log-to-karatasks-transitions	2008-08-25 08:53:01 UTC (rev 2193)
+++ log-processing/log-to-karatasks-transitions	2008-08-26 14:41:21 UTC (rev 2194)
@@ -13,7 +13,8 @@
 # then filter out unchanged lines because they're irrelevant
 
 grep ' TaskImpl ' | ./iso-to-secs | \
-sed 's/^\([^ ]*\) [^ ]* TaskImpl Task(type=\([^,]*\), identity=urn:\([^)]*\)) setting status to \([^ ]*\)\(.*\)$/\1 \3 \4 \2 \5/'
+sed 's/^\([^ ]*\) [^ ]* TaskImpl Task(type=\([^,]*\), identity=urn:\([^)]*\)) setting status to \([^ ]*\) *\(.*\)$/\1 \3 \4 \2 \5/' | \
+sed 's/\([^ ]*\) \([^ ]*\) Unknown \([^ ]*\) *(\(.*\))/\1 \2 Unknown-\4 \3/' 
 
 exit 0
 




More information about the Swift-commit mailing list