From 19f3a9e077dcdd2b7dbc80fce98e7326ec996bda Mon Sep 17 00:00:00 2001 From: wangchuxiao Date: Tue, 14 Mar 2023 19:45:48 +0800 Subject: [PATCH] zap --- pkg/common/mw/rpc_client_interceptor.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/common/mw/rpc_client_interceptor.go b/pkg/common/mw/rpc_client_interceptor.go index e0c42ea9d..60b6a2ef4 100644 --- a/pkg/common/mw/rpc_client_interceptor.go +++ b/pkg/common/mw/rpc_client_interceptor.go @@ -33,7 +33,7 @@ func rpcClientInterceptor(ctx context.Context, method string, req, resp interfac } err = invoker(metadata.NewOutgoingContext(ctx, md), method, req, resp, cc, opts...) if err == nil { - log.ZInfo(ctx, "rpc client resp", "funcName", method, rpcString(resp)) + log.ZInfo(ctx, "rpc client resp", "funcName", method, "resp", rpcString(resp)) return nil } log.ZError(ctx, "rpc resp error", err)