[Swift-commit] r7042 - trunk/libexec

hategan at ci.uchicago.edu hategan at ci.uchicago.edu
Sun Sep 8 02:51:01 CDT 2013


Author: hategan
Date: 2013-09-08 02:51:00 -0500 (Sun, 08 Sep 2013)
New Revision: 7042

Modified:
   trunk/libexec/
   trunk/libexec/swift.k
Log:
fixed error when provenance is enabled


Property changes on: trunk/libexec
___________________________________________________________________
Added: svn:mergeinfo
   + /branches/release-0.93/libexec:4761-5122
/branches/release-0.94/libexec:6283-6619,6998-7002,7019
/trunk/libexec:6172,6177,6182,6189-6190,6202-6203,6206-6208,6215-6223,6231-6241,6255-6258,6263,6272,6274-6618

Modified: trunk/libexec/swift.k
===================================================================
--- trunk/libexec/swift.k	2013-09-08 06:11:52 UTC (rev 7041)
+++ trunk/libexec/swift.k	2013-09-08 07:51:00 UTC (rev 7042)
@@ -24,9 +24,10 @@
 	export(stageOut, def("org.griphyn.vdl.karajan.lib.Stageout"))
 
 	export(parameterLog,
-		function(direction, variable, id, thread) {
+		function(direction, variable, id) {
 			if (configProperty("provenance.log") == "true") {
-				log("info","PARAM thread={thread} direction={direction} variable={variable} provenanceid={id}")
+				thread := currentThread()
+				log("info", "PARAM thread={thread} direction={direction} variable={variable} provenanceid={id}")
 			}
 		}
 	)




More information about the Swift-commit mailing list