From 49a1154ff840ed4f7d14594e9341d750688740ab Mon Sep 17 00:00:00 2001 From: Harshit Gangal Date: Tue, 21 Nov 2023 18:05:28 +0530 Subject: [PATCH] Remove excessive VTGate logging of default planner selection (#14554) Signed-off-by: Harshit Gangal --- go/vt/vtgate/planbuilder/builder.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/go/vt/vtgate/planbuilder/builder.go b/go/vt/vtgate/planbuilder/builder.go index f715c230db9..ffa316d4b71 100644 --- a/go/vt/vtgate/planbuilder/builder.go +++ b/go/vt/vtgate/planbuilder/builder.go @@ -24,7 +24,6 @@ import ( "vitess.io/vitess/go/sqltypes" "vitess.io/vitess/go/test/vschemawrapper" "vitess.io/vitess/go/vt/key" - "vitess.io/vitess/go/vt/log" querypb "vitess.io/vitess/go/vt/proto/query" topodatapb "vitess.io/vitess/go/vt/proto/topodata" "vitess.io/vitess/go/vt/sqlparser" @@ -130,7 +129,6 @@ func getConfiguredPlanner(vschema plancontext.VSchema, stmt sqlparser.Statement, case Gen4Left2Right, Gen4GreedyOnly, Gen4: default: // default is gen4 plan - log.Infof("Using Gen4 planner instead of %s", planner.String()) planner = Gen4 } return gen4Planner(query, planner), nil