[Swift-commit] r3399 - branches/woz-01/src/org/griphyn/vdl/karajan/lib

noreply at svn.ci.uchicago.edu noreply at svn.ci.uchicago.edu
Tue Jun 22 12:34:29 CDT 2010


Author: wozniak
Date: 2010-06-22 12:34:29 -0500 (Tue, 22 Jun 2010)
New Revision: 3399

Modified:
   branches/woz-01/src/org/griphyn/vdl/karajan/lib/VDLFunction.java
Log:
Moving log messages from INFO to DEBUG

Modified: branches/woz-01/src/org/griphyn/vdl/karajan/lib/VDLFunction.java
===================================================================
--- branches/woz-01/src/org/griphyn/vdl/karajan/lib/VDLFunction.java	2010-06-22 17:08:17 UTC (rev 3398)
+++ branches/woz-01/src/org/griphyn/vdl/karajan/lib/VDLFunction.java	2010-06-22 17:34:29 UTC (rev 3399)
@@ -580,12 +580,17 @@
 		return provenanceIDCount++;
 	}
 
-	public static void logProvenanceResult(int id, DSHandle result, String name) throws ExecutionException {
-		logger.info("FUNCTION id="+id+" name="+name+" result="+result.getIdentifier());
+	public static void logProvenanceResult(int id, DSHandle result, 
+	        String name) 
+	throws ExecutionException {
+	    if (logger.isDebugEnabled())
+	        logger.debug("FUNCTION id="+id+" name="+name+" result="+result.getIdentifier());
+	    else if (logger.isInfoEnabled())
+	        logger.info("FUNCTION: " + name + "()");
 	}
 
 	public static void logProvenanceParameter(int id, DSHandle parameter, String paramName) throws ExecutionException {
-		logger.info("FUNCTIONPARAMETER id="+id+" input="+parameter.getIdentifier()+" name="+paramName);
-
+	    if (logger.isDebugEnabled())
+	        logger.debug("FUNCTIONPARAMETER id="+id+" input="+parameter.getIdentifier()+" name="+paramName);
 	}
 }




More information about the Swift-commit mailing list