Ver Fonte

远程调用日志

liuaini há 2 dias atrás
pai
commit
6055da6250

+ 1 - 1
common/common-core/src/main/java/com/hdkj/lt/core/rest/service/impl/AbstractDefaultRemoteCallService.java

@@ -53,7 +53,7 @@ public abstract class AbstractDefaultRemoteCallService implements IRemoteCallSer
                 Optional.ofNullable(callRespEntity).ifPresent(e -> errorMsg.append(",\n errorMsg:").append(e.getMsg()));
                 ExceptionCast.cast(errorMsg.toString());
             }
-            log.info("call successful, methodUrl: {},\n requestBody: {},\n callRespEntity: {}", methodUrl, requestBodyStr, JSON.toJSONString(callRespEntity));
+            log.info("call successful, methodUrl: {},\n requestBody: {}", methodUrl, requestBodyStr);
             return JSON.parseObject(JSON.toJSONString(callRespEntity.getData()), responseBody);
         } catch (Exception e) {
             log.error("call failed, methodUrl: {},\n requestBody: {},\n errorMsg: {}", methodUrl, requestBodyStr, e.toString());