未验证 提交 9c306b0d 编写于 作者: S SimFG 提交者: GitHub

Remove `request` log of `mock` method in the hook interceptor (#22136)

Signed-off-by: NSimFG <bang.fu@zilliz.com>
上级 4e26d626
......@@ -89,8 +89,8 @@ func UnaryServerHookInterceptor() grpc.UnaryServerInterceptor {
}
if newCtx, err = hoo.Before(ctx, req, fullMethod); err != nil {
log.Warn("hook before error", zap.String("user", getCurrentUser(ctx)), zap.String("full method", fullMethod),
zap.Any("request", req), zap.Error(err))
log.Warn("hook before error", zap.String("user", getCurrentUser(ctx)),
zap.String("full method", fullMethod), zap.Error(err))
metrics.ProxyHookFunc.WithLabelValues(metrics.HookBefore, fullMethod).Inc()
return nil, err
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册