Skip to content

Commit

Permalink
domain: change some log's level to ERROR (#14779)
Browse files Browse the repository at this point in the history
  • Loading branch information
wjhuang2016 authored Feb 13, 2020
1 parent fe6ca65 commit 2ee3b33
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ddl/util/syncer.go
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ func (s *schemaVersionSyncer) Done() <-chan struct{} {
failpoint.Inject("ErrorMockSessionDone", func(val failpoint.Value) {
if val.(bool) {
err := s.loadSession().Close()
logutil.BgLogger().Info("close session failed", zap.Error(err))
logutil.BgLogger().Error("close session failed", zap.Error(err))
}
})

Expand Down
2 changes: 1 addition & 1 deletion domain/domain.go
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,7 @@ func (do *Domain) mustRestartSyncer() error {
return err
}
time.Sleep(time.Second)
logutil.BgLogger().Info("restart the schema syncer failed", zap.Error(err))
logutil.BgLogger().Error("restart the schema syncer failed", zap.Error(err))
}
}

Expand Down

0 comments on commit 2ee3b33

Please sign in to comment.