浏览代码

增加日志打印,方便排查错误

luoguangyi 2 年之前
父节点
当前提交
ddb1eeb589
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      src/main/java/com/sagacloud/util/compute_engine/core/CoreComputeUtil.java

+ 2 - 1
src/main/java/com/sagacloud/util/compute_engine/core/CoreComputeUtil.java

@@ -1,5 +1,6 @@
 package com.sagacloud.util.compute_engine.core;
 
+import com.alibaba.fastjson.JSON;
 import com.alibaba.fastjson.JSONObject;
 import com.sagacloud.extend.dao_data.ImplDao_fjd_statinst;
 import com.sagacloud.parser.simulator.String2Grammar;
@@ -652,7 +653,7 @@ public class CoreComputeUtil {
             if ("expression".equals(output.mode)) {
                 if (output.expression != null) {
                     try {
-                        log.info("startExpression:{} ",output.expression);
+                        log.info("startExpression:{},完整信息[{}] ",output.expression, JSON.toJSONString(output));
                         output.root = String2Grammar.Generate(output.expression);
                     } catch (Exception e) {
                         log.error("Error expression:" + instance.object_sign + "_" + instance.instance_name + "\t" + output.output_sign + "\t"