diff --git a/internal/querynode/shard_cluster.go b/internal/querynode/shard_cluster.go index 37d59da23c..f63c58f7de 100644 --- a/internal/querynode/shard_cluster.go +++ b/internal/querynode/shard_cluster.go @@ -986,7 +986,12 @@ func (sc *ShardCluster) Search(ctx context.Context, req *querypb.SearchRequest, wg.Wait() if err != nil { - log.Error("failed to do search", zap.Any("req", req), zap.Error(err)) + log.Error("failed to do search", + zap.Int64("msgID", req.GetReq().GetBase().GetMsgID()), + zap.Int64("sourceID", req.GetReq().GetBase().GetSourceID()), + zap.Strings("channels", req.GetDmlChannels()), + zap.Int64s("segmentIDs", req.GetSegmentIDs()), + zap.Error(err)) return nil, err }