display as error (#7724)

This commit is contained in:
Lunny Xiao 2019-08-03 15:07:51 +08:00 committed by Lauris BH
parent 76408d50fb
commit 7d9a13035e

View File

@ -54,7 +54,7 @@ func initDBEngine() (err error) {
} else if i == setting.DBConnectRetries-1 {
return err
}
log.Debug("ORM engine initialization attempt #%d/%d failed. Error: %v", i+1, setting.DBConnectRetries, err)
log.Error("ORM engine initialization attempt #%d/%d failed. Error: %v", i+1, setting.DBConnectRetries, err)
log.Info("Backing off for %d seconds", int64(setting.DBConnectBackoff/time.Second))
time.Sleep(setting.DBConnectBackoff)
}