Skip to content

Commit

Permalink
grpcproxy: use payload received/sent instead of start/finish call events
Browse files Browse the repository at this point in the history
Signed-off-by: Marcus Efraimsson <[email protected]>
  • Loading branch information
marefr committed May 1, 2024
1 parent 613ea90 commit 7c2dad9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/etcdmain/grpc_proxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@ func newGRPCProxyServer(lg *zap.Logger, client *clientv3.Client) *grpc.Server {

if grpcProxyEnableLogging {
opts := []grpc_logging.Option{
grpc_logging.WithLogOnEvents(grpc_logging.StartCall, grpc_logging.FinishCall),
grpc_logging.WithLogOnEvents(grpc_logging.PayloadReceived, grpc_logging.PayloadSent),
}

grpcChainStreamList = append(grpcChainStreamList,
Expand Down

0 comments on commit 7c2dad9

Please sign in to comment.