diff options
author | DWE <dwe@boreus.de> | 2017-01-23 12:19:12 +0100 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2017-01-23 19:19:12 +0800 |
commit | 8b87be63c53bc76ba0b764d2bd6b2df1ed9f6243 (patch) | |
tree | 44322355bf422d85f9461dc85005c3993f2f695e /modules | |
parent | 907b6f943ce632ee49568237f0d430dedb616f92 (diff) | |
download | gitea-8b87be63c53bc76ba0b764d2bd6b2df1ed9f6243.tar.gz gitea-8b87be63c53bc76ba0b764d2bd6b2df1ed9f6243.zip |
fix logfile name (#731)
Diffstat (limited to 'modules')
-rw-r--r-- | modules/setting/setting.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/setting/setting.go b/modules/setting/setting.go index c07b584b81..910ec93021 100644 --- a/modules/setting/setting.go +++ b/modules/setting/setting.go @@ -931,7 +931,7 @@ func newLogService() { case "console": LogConfigs[i] = fmt.Sprintf(`{"level":%s}`, level) case "file": - logPath := sec.Key("FILE_NAME").MustString(path.Join(LogRootPath, "gogs.log")) + logPath := sec.Key("FILE_NAME").MustString(path.Join(LogRootPath, "gitea.log")) if err = os.MkdirAll(path.Dir(logPath), os.ModePerm); err != nil { panic(err.Error()) } |