diff --git a/server/tidb_test.go b/server/tidb_test.go index 6b3e2661773b6..30416ff608b69 100644 --- a/server/tidb_test.go +++ b/server/tidb_test.go @@ -49,7 +49,6 @@ import ( "github.com/pingcap/tidb/testkit" "github.com/pingcap/tidb/util" "github.com/pingcap/tidb/util/cpuprofile" - "github.com/pingcap/tidb/util/logutil" "github.com/pingcap/tidb/util/plancodec" "github.com/pingcap/tidb/util/topsql" "github.com/pingcap/tidb/util/topsql/collector" @@ -83,8 +82,6 @@ func createTidbTestSuite(t *testing.T) (*tidbTestSuite, func()) { cfg.Status.ReportStatus = true cfg.Status.StatusPort = ts.statusPort cfg.Performance.TCPKeepAlive = true - err = logutil.InitLogger(cfg.Log.ToLogConfig()) - require.NoError(t, err) server, err := NewServer(cfg, ts.tidbdrv) require.NoError(t, err)