mirror of
https://gitee.com/dromara/liteFlow.git
synced 2026-05-14 20:22:07 +08:00
优化打印控制
This commit is contained in:
@@ -14,6 +14,7 @@ import com.yomahub.liteflow.exception.NoSuchContextBeanException;
|
||||
import com.yomahub.liteflow.exception.NullParamException;
|
||||
import com.yomahub.liteflow.flow.entity.CmpStep;
|
||||
import com.yomahub.liteflow.flow.id.IdGeneratorHolder;
|
||||
import com.yomahub.liteflow.property.LiteflowConfigGetter;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
@@ -274,7 +275,9 @@ public class Slot{
|
||||
if (ObjectUtil.isNull(this.executeStepsStr)){
|
||||
this.executeStepsStr = getExecuteStepStr(true);
|
||||
}
|
||||
LOG.info("[{}]:CHAIN_NAME[{}]\n{}",getRequestId(),this.getChainName(), this.executeStepsStr);
|
||||
if (LiteflowConfigGetter.get().getPrintExecutionLog()){
|
||||
LOG.info("[{}]:CHAIN_NAME[{}]\n{}",getRequestId(),this.getChainName(), this.executeStepsStr);
|
||||
}
|
||||
}
|
||||
|
||||
public void generateRequestId() {
|
||||
|
||||
Reference in New Issue
Block a user