ExecutionFlowRuntime runtime = new ExecutionFlowRuntime(executionFlow);
stack.push(runtime);
- if (log.isTraceEnabled())
+ if (log.isDebugEnabled())
log.debug(depthSpaces(stack.size()) + "=> " + executionFlow + " #"
+ getCurrentStackUuid() + ", depth=" + stack.size());
public static void leaveFlow(ExecutionFlow executionFlow) {
Stack<ExecutionFlowRuntime> stack = executionContext.get().stack;
- if (log.isTraceEnabled())
+ if (log.isDebugEnabled())
log.debug(depthSpaces(stack.size()) + "<= " + executionFlow + " #"
+ getCurrentStackUuid() + ", depth=" + stack.size());
ExecutionFlowRuntime leftEf = stack.pop();
- if (!leftEf.getExecutionFlow().getUuid()
- .equals(executionFlow.getUuid()))
+ if (!leftEf.getExecutionFlow().getName()
+ .equals(executionFlow.getName()))
throw new SlcException("Asked to leave " + executionFlow
+ " but last is " + leftEf);