Skip to content

Commit 8b87be6

Browse files
MorphBonehunterlunny
authored andcommitted
fix logfile name (#731)
1 parent 907b6f9 commit 8b87be6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/setting/setting.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -931,7 +931,7 @@ func newLogService() {
931931
case "console":
932932
LogConfigs[i] = fmt.Sprintf(`{"level":%s}`, level)
933933
case "file":
934-
logPath := sec.Key("FILE_NAME").MustString(path.Join(LogRootPath, "gogs.log"))
934+
logPath := sec.Key("FILE_NAME").MustString(path.Join(LogRootPath, "gitea.log"))
935935
if err = os.MkdirAll(path.Dir(logPath), os.ModePerm); err != nil {
936936
panic(err.Error())
937937
}

0 commit comments

Comments
 (0)