[Swift-commit] r3407 - in branches/woz-01/src/org/griphyn/vdl/karajan: . lib

noreply at svn.ci.uchicago.edu noreply at svn.ci.uchicago.edu
Tue Jun 22 17:37:12 CDT 2010


Author: wozniak
Date: 2010-06-22 17:37:12 -0500 (Tue, 22 Jun 2010)
New Revision: 3407

Modified:
   branches/woz-01/src/org/griphyn/vdl/karajan/Loader.java
   branches/woz-01/src/org/griphyn/vdl/karajan/lib/Log.java
Log:
Temporary debugging output


Modified: branches/woz-01/src/org/griphyn/vdl/karajan/Loader.java
===================================================================
--- branches/woz-01/src/org/griphyn/vdl/karajan/Loader.java	2010-06-22 22:24:47 UTC (rev 3406)
+++ branches/woz-01/src/org/griphyn/vdl/karajan/Loader.java	2010-06-22 22:37:12 UTC (rev 3407)
@@ -476,8 +476,8 @@
             ca.setThreshold(level);
             ca.activateOptions();
         }
+        Logger.getLogger(Log.class).setLevel(Level.INFO);
         if (ap.isPresent(ARG_TUI)) {
-          System.out.println("TUI");
             ma = new MonitorAppender(projectName);
             Logger.getRootLogger().addAppender(ma);
             Logger.getLogger(Log.class).setLevel(Level.DEBUG);

Modified: branches/woz-01/src/org/griphyn/vdl/karajan/lib/Log.java
===================================================================
--- branches/woz-01/src/org/griphyn/vdl/karajan/lib/Log.java	2010-06-22 22:24:47 UTC (rev 3406)
+++ branches/woz-01/src/org/griphyn/vdl/karajan/lib/Log.java	2010-06-22 22:37:12 UTC (rev 3407)
@@ -70,10 +70,12 @@
 			cls = "unknown";
 		}
 		Level lvl = getLevel(TypeUtil.toString(LEVEL.getValue(stack)));
-                System.out.println(lvl);
+                System.out.println("lvl: " + lvl);
 		Logger logger = getLogger(cls);
+                System.out.println("cls: " + cls);
 		if (logger.isEnabledFor(lvl)) {
 		    Object smsg = MESSAGE.getValue(stack);
+                    System.out.println("message: " + smsg);
 		    if (smsg != null) {
 		        logger.log(lvl, smsg);
 		    }




More information about the Swift-commit mailing list