diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2019-08-03 15:07:51 +0800 |
---|---|---|
committer | Lauris BH <lauris@nix.lv> | 2019-08-03 10:07:51 +0300 |
commit | 7d9a13035e0dd9f38bbb67f9b300d53c3579fb01 (patch) | |
tree | c5f7a95c00a70440e7c2032cc26f1ebba6904fd5 | |
parent | 76408d50fb338e9239ee06bb26eec28453167300 (diff) | |
download | gitea-7d9a13035e0dd9f38bbb67f9b300d53c3579fb01.tar.gz gitea-7d9a13035e0dd9f38bbb67f9b300d53c3579fb01.zip |
display as error (#7724)
-rw-r--r-- | routers/init.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/init.go b/routers/init.go index e431260687..26d750d20e 100644 --- a/routers/init.go +++ b/routers/init.go @@ -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) } |