Skip to content

Commit

Permalink
change logger to debug
Browse files Browse the repository at this point in the history
  • Loading branch information
lichunzhu authored and ti-chi-bot committed Apr 19, 2023
1 parent 723a159 commit 84bbb3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion table/column.go
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ func CastValue(ctx sessionctx.Context, val types.Datum, col *model.ColumnInfo, r
return casted, err
}
if err != nil {
logutil.BgLogger().Warn("[debug] ConvertTo FieldType failed", zap.Stringer("FieldType", &col.FieldType),
logutil.BgLogger().Debug("[debug] ConvertTo FieldType failed", zap.Stringer("FieldType", &col.FieldType),
zap.Stringer("Datum", val), zap.Error(err))
}
if err != nil && types.ErrTruncated.Equal(err) && col.GetType() != mysql.TypeSet && col.GetType() != mysql.TypeEnum {
Expand Down

0 comments on commit 84bbb3d

Please sign in to comment.