From a0bb758be59006e135d340cf88427c142ac03b46 Mon Sep 17 00:00:00 2001 From: XuanYang-cn Date: Wed, 30 Mar 2022 22:09:28 +0800 Subject: [PATCH] Refine log in proxy searchTask (#16263) Signed-off-by: yangxuan --- internal/proxy/task.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/internal/proxy/task.go b/internal/proxy/task.go index 29357b945c..fad8a3e22c 100644 --- a/internal/proxy/task.go +++ b/internal/proxy/task.go @@ -971,8 +971,9 @@ func (st *searchTask) PreExecute(ctx context.Context) error { if showResp.Status.ErrorCode != commonpb.ErrorCode_Success { return errors.New(showResp.Status.Reason) } - log.Debug("QueryCoord show collections", - zap.Any("collID", collID), + log.Debug("successfully get collections from QueryCoord", + zap.String("target collection name", collectionName), + zap.Int64("target collection ID", collID), zap.Any("collections", showResp.CollectionIDs), ) collectionLoaded := false