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

noreply at svn.ci.uchicago.edu noreply at svn.ci.uchicago.edu
Wed Jun 23 11:30:13 CDT 2010


Author: wozniak
Date: 2010-06-23 11:30:12 -0500 (Wed, 23 Jun 2010)
New Revision: 3410

Modified:
   branches/woz-01/src/org/griphyn/vdl/karajan/lib/Execute.java
Log:
Simplify log message for INFO

Modified: branches/woz-01/src/org/griphyn/vdl/karajan/lib/Execute.java
===================================================================
--- branches/woz-01/src/org/griphyn/vdl/karajan/lib/Execute.java	2010-06-22 22:55:56 UTC (rev 3409)
+++ branches/woz-01/src/org/griphyn/vdl/karajan/lib/Execute.java	2010-06-23 16:30:12 UTC (rev 3410)
@@ -49,7 +49,12 @@
 				logger.debug("Submitting task " + task);
 			}
 			String jobid = (String)A_JOBID.getValue(stack,null);
-			logger.info("jobid="+jobid+" task=" + task);
+			if (logger.isDebugEnabled()) {
+			    logger.debug("jobid="+jobid+" task=" + task);
+			}
+			else if (logger.isInfoEnabled()) { 
+			    logger.info("Submit: " + task.getSpecification());
+			}
 			scheduler.addJobStatusListener(this, task);
 			synchronized (tasks) {
 				tasks.put(task, stack);




More information about the Swift-commit mailing list