From ea118cf167ae6e9b8bcd453a7f809d887e492525 Mon Sep 17 00:00:00 2001 From: lance6716 Date: Mon, 11 Sep 2023 13:11:17 +0800 Subject: [PATCH] log: revert mistakenly change library logger level to debug Signed-off-by: lance6716 --- br/pkg/lightning/log/log.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/br/pkg/lightning/log/log.go b/br/pkg/lightning/log/log.go index ca42c5a8d42cd..ba9d822296dfb 100644 --- a/br/pkg/lightning/log/log.go +++ b/br/pkg/lightning/log/log.go @@ -97,7 +97,7 @@ func InitLogger(cfg *Config, _ string) error { // Disable annoying TiDB Log. // TODO: some error logs outputs randomly, we need to fix them in TiDB. // this LEVEL only affects SlowQueryLogger, later ReplaceGlobals will overwrite it. - tidbLogCfg.Level = "debug" + tidbLogCfg.Level = "fatal" // this also init GRPCLogger, controlled by GRPC_DEBUG env. err := logutil.InitLogger(&tidbLogCfg) if err != nil {