Skip to content

Commit

Permalink
log: revert mistakenly change library logger level to debug (pingcap#…
Browse files Browse the repository at this point in the history
  • Loading branch information
lance6716 authored Sep 13, 2023
1 parent 061a139 commit 1e4b2d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion br/pkg/lightning/log/log.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 1e4b2d2

Please sign in to comment.