Procházet zdrojové kódy

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

luoguangyi před 2 roky
rodič
revize
ddb1eeb589

+ 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"