- log.debug(depthSpaces(stackSize) + symbol + executionFlow + " #"
- + executionStack.getCurrentStackLevelUuid() + ", depth="
- + stackSize);
+ if (log.isTraceEnabled())
+ log.debug(depthSpaces(stackSize) + symbol + executionFlow + " #"
+ + executionStack.getCurrentStackLevelUuid() + ", depth="
+ + stackSize);
+ else if (log.isDebugEnabled() && !trace)
+ log.debug(depthSpaces(stackSize) + symbol + executionFlow);
+ else if (log.isTraceEnabled() && trace)
+ log.trace(depthSpaces(stackSize) + symbol + executionFlow);
+