[Swift-commit] r5769 - trunk/src/org/griphyn/vdl/karajan/lib
hategan at ci.uchicago.edu
hategan at ci.uchicago.edu
Sat Apr 28 20:42:08 CDT 2012
Author: hategan
Date: 2012-04-28 20:42:07 -0500 (Sat, 28 Apr 2012)
New Revision: 5769
Modified:
trunk/src/org/griphyn/vdl/karajan/lib/SetFieldValue.java
Log:
check logging level
Modified: trunk/src/org/griphyn/vdl/karajan/lib/SetFieldValue.java
===================================================================
--- trunk/src/org/griphyn/vdl/karajan/lib/SetFieldValue.java 2012-04-29 01:41:53 UTC (rev 5768)
+++ trunk/src/org/griphyn/vdl/karajan/lib/SetFieldValue.java 2012-04-29 01:42:07 UTC (rev 5769)
@@ -86,11 +86,15 @@
p = "";
String name = data.getDisplayableName() + p;
if (value.getType().isArray()) {
- logger.info("Set: " + name + "=" +
+ if (logger.isInfoEnabled()) {
+ logger.info("Set: " + name + "=" +
unpackHandles(value.getArrayValue()));
+ }
}
else {
- logger.info("Set: " + name + "=" + value.getValue());
+ if (logger.isInfoEnabled()) {
+ logger.info("Set: " + name + "=" + value.getValue());
+ }
}
}
}
More information about the Swift-commit
mailing list