From 4656185612e10f82126afa30e1378527cf7e4ec7 Mon Sep 17 00:00:00 2001 From: "vitess-bot[bot]" <108069721+vitess-bot[bot]@users.noreply.github.com> 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 a67878d7119..b9133153602 100644 --- a/go/vt/vtgate/planbuilder/builder.go +++ b/go/vt/vtgate/planbuilder/builder.go @@ -23,7 +23,6 @@ import ( "vitess.io/vitess/go/sqltypes" "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" @@ -116,7 +115,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