mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00:00
Default log level to Info without hardcoding it in installer (#3041)
This commit is contained in:
committed by
Lunny Xiao
parent
9a8805d785
commit
57edc3155f
@@ -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")
|
||||
|
Reference in New Issue
Block a user