[Swift-commit] r5768 - trunk/src/org/griphyn/vdl/karajan/lib

hategan at ci.uchicago.edu hategan at ci.uchicago.edu
Sat Apr 28 20:41:53 CDT 2012


Author: hategan
Date: 2012-04-28 20:41:53 -0500 (Sat, 28 Apr 2012)
New Revision: 5768

Modified:
   trunk/src/org/griphyn/vdl/karajan/lib/New.java
Log:
check logging level

Modified: trunk/src/org/griphyn/vdl/karajan/lib/New.java
===================================================================
--- trunk/src/org/griphyn/vdl/karajan/lib/New.java	2012-04-29 01:41:34 UTC (rev 5767)
+++ trunk/src/org/griphyn/vdl/karajan/lib/New.java	2012-04-29 01:41:53 UTC (rev 5768)
@@ -147,7 +147,9 @@
 				}
 			}
 			
-			logger.debug("NEW id="+handle.getIdentifier());
+			if (logger.isDebugEnabled()) {
+			    logger.debug("NEW id="+handle.getIdentifier());
+			}
 			return handle;
 		}
 		catch (Exception e) {




More information about the Swift-commit mailing list