diff options
author | Piotr Orzechowski <tech@orzechowski.hub.pl> | 2017-12-01 08:41:27 +0100 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2017-12-01 15:41:27 +0800 |
commit | 57edc3155fa910729bee912d637ad2fd77cb2bba (patch) | |
tree | 66b88519aec0fefc6db6f990a17856a23de50456 /routers | |
parent | 9a8805d785597a04ad03da4834a0c5f033c4a83a (diff) | |
download | gitea-57edc3155fa910729bee912d637ad2fd77cb2bba.tar.gz gitea-57edc3155fa910729bee912d637ad2fd77cb2bba.zip |
Default log level to Info without hardcoding it in installer (#3041)
Diffstat (limited to 'routers')
-rw-r--r-- | routers/install.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/install.go b/routers/install.go index e832f98739..df65d4fabf 100644 --- a/routers/install.go +++ b/routers/install.go @@ -310,7 +310,7 @@ func InstallPost(ctx *context.Context, form auth.InstallForm) { cfg.Section("session").Key("PROVIDER").SetValue("file") cfg.Section("log").Key("MODE").SetValue("file") - cfg.Section("log").Key("LEVEL").SetValue("Info") + cfg.Section("log").Key("LEVEL").SetValue(setting.LogLevel) cfg.Section("log").Key("ROOT_PATH").SetValue(form.LogRootPath) cfg.Section("security").Key("INSTALL_LOCK").SetValue("true") |