[Swift-commit] r5944 - in trunk/src/org/griphyn/vdl: karajan util

hategan at ci.uchicago.edu hategan at ci.uchicago.edu
Mon Sep 24 15:27:29 CDT 2012


Author: hategan
Date: 2012-09-24 15:27:28 -0500 (Mon, 24 Sep 2012)
New Revision: 5944

Modified:
   trunk/src/org/griphyn/vdl/karajan/Loader.java
   trunk/src/org/griphyn/vdl/util/VDL2Config.java
Log:
log settings on startup

Modified: trunk/src/org/griphyn/vdl/karajan/Loader.java
===================================================================
--- trunk/src/org/griphyn/vdl/karajan/Loader.java	2012-09-23 04:42:23 UTC (rev 5943)
+++ trunk/src/org/griphyn/vdl/karajan/Loader.java	2012-09-24 20:27:28 UTC (rev 5944)
@@ -199,6 +199,9 @@
             VariableStack stack = new LinkedStack(ec);
             VDL2Config config = loadConfig(ap, stack);
             addCommandLineProperties(config, ap);
+            if (logger.isDebugEnabled()) {
+                logger.debug(config);
+            }
             debugSitesText(config);
             
             if (ap.isPresent(ARG_DRYRUN)) {

Modified: trunk/src/org/griphyn/vdl/util/VDL2Config.java
===================================================================
--- trunk/src/org/griphyn/vdl/util/VDL2Config.java	2012-09-23 04:42:23 UTC (rev 5943)
+++ trunk/src/org/griphyn/vdl/util/VDL2Config.java	2012-09-24 20:27:28 UTC (rev 5944)
@@ -245,7 +245,7 @@
 	}
 	
 	public String toString() {
-		return "Swift configuration " + files;
+		return "Swift configuration (" + files + "): " + super.toString();
 	}
 
 	public Object clone() {




More information about the Swift-commit mailing list