mirror of https://github.com/milvus-io/milvus.git
Improve log level in proxy QueryTask (#16234)
Use warn instead of debug in error case Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>pull/16247/head
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…
Reference in New Issue