mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
Improve log level in proxy QueryTask (#16234)
Use warn instead of debug in error case Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
This commit is contained in:
parent
a77dd1034c
commit
2c03287e79
@ -1598,8 +1598,8 @@ func (qt *queryTask) PreExecute(ctx context.Context) error {
|
||||
collectionName := qt.query.CollectionName
|
||||
|
||||
if err := validateCollectionName(qt.query.CollectionName); err != nil {
|
||||
log.Debug("Invalid collection name.", zap.Any("collectionName", collectionName),
|
||||
zap.Any("requestID", qt.Base.MsgID), zap.Any("requestType", "query"))
|
||||
log.Warn("Invalid collection name.", zap.String("collectionName", collectionName),
|
||||
zap.Int64("requestID", qt.Base.MsgID), zap.String("requestType", "query"))
|
||||
return err
|
||||
}
|
||||
log.Info("Validate collection name.", zap.Any("collectionName", collectionName),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user