From 8b87be63c53bc76ba0b764d2bd6b2df1ed9f6243 Mon Sep 17 00:00:00 2001
From: DWE <dwe@boreus.de>
Date: Mon, 23 Jan 2017 12:19:12 +0100
Subject: [PATCH] fix logfile name (#731)

---
 modules/setting/setting.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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