X-Git-Url: http://git.argeo.org/?a=blobdiff_plain;f=runtime%2Forg.argeo.slc.execution%2Fsrc%2Fmain%2Fjava%2Forg%2Fargeo%2Fslc%2Fexecution%2FExecutionContext.java;h=c6d8e2c338e686fa426e1362cb45027635797538;hb=237c2da124703a91c64cf0106d293f77821010e1;hp=db8af23d5d76657665cf19991335bde8a38da69c;hpb=dfdce3de968e09ed7d4cf443a6bfcbc9c5e819f2;p=gpl%2Fargeo-slc.git diff --git a/runtime/org.argeo.slc.execution/src/main/java/org/argeo/slc/execution/ExecutionContext.java b/runtime/org.argeo.slc.execution/src/main/java/org/argeo/slc/execution/ExecutionContext.java index db8af23d5..c6d8e2c33 100644 --- a/runtime/org.argeo.slc.execution/src/main/java/org/argeo/slc/execution/ExecutionContext.java +++ b/runtime/org.argeo.slc.execution/src/main/java/org/argeo/slc/execution/ExecutionContext.java @@ -52,7 +52,7 @@ public class ExecutionContext { ExecutionFlowRuntime runtime = new ExecutionFlowRuntime(executionFlow); stack.push(runtime); - if (log.isTraceEnabled()) + if (log.isDebugEnabled()) log.debug(depthSpaces(stack.size()) + "=> " + executionFlow + " #" + getCurrentStackUuid() + ", depth=" + stack.size()); @@ -105,13 +105,13 @@ public class ExecutionContext { public static void leaveFlow(ExecutionFlow executionFlow) { Stack 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);