From a9f342193a361c332944401cd67c9d7da8979e94 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E5=82=85=E5=93=A5?= <184172133@qq.com> Date: Sat, 8 Jul 2023 16:16:54 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=A8=A1=E6=8B=9FRPC=E8=AF=B7=E6=B1=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../dev/tech/dubbo/trigger/socket/RpcServerSocket.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/xfg-dev-tech-dubbo-trigger/src/main/java/cn/bugstack/dev/tech/dubbo/trigger/socket/RpcServerSocket.java b/xfg-dev-tech-dubbo-trigger/src/main/java/cn/bugstack/dev/tech/dubbo/trigger/socket/RpcServerSocket.java index 7ed9ba0..f5df90c 100644 --- a/xfg-dev-tech-dubbo-trigger/src/main/java/cn/bugstack/dev/tech/dubbo/trigger/socket/RpcServerSocket.java +++ b/xfg-dev-tech-dubbo-trigger/src/main/java/cn/bugstack/dev/tech/dubbo/trigger/socket/RpcServerSocket.java @@ -61,7 +61,7 @@ public class RpcServerSocket implements Runnable { Map response = new HashMap<>(); response.put("data", invoke); - log.info("RPC 请求调用 clazz:{} methodName:{}, response:{}", clazz, methodName, JSON.toJSON(response)); + log.info("RPC 请求调用 clazz:{} methodName:{}, response:{}", clazz.getName(), methodName, JSON.toJSON(response)); // 回写数据 channelHandlerContext.channel().writeAndFlush(response); } @@ -79,5 +79,4 @@ public class RpcServerSocket implements Runnable { } } - } -- GitLab