@@ -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()) | |||
} |