summaryrefslogtreecommitdiffstats
path: root/cmd/serve.go
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-05-28 01:53:06 -0400
committerUnknown <joe2010xtmf@163.com>2014-05-28 01:53:06 -0400
commitab13a29cb530457328cf9d3a2511c2db1d5ccaca (patch)
treefae4cca0e4b24f81f7896b8f8dfab909c2e98bc8 /cmd/serve.go
parentff690fd9760e0cfb5ae9e49aecb7a201f7ca8304 (diff)
downloadgitea-ab13a29cb530457328cf9d3a2511c2db1d5ccaca.tar.gz
gitea-ab13a29cb530457328cf9d3a2511c2db1d5ccaca.zip
Fix #209
Diffstat (limited to 'cmd/serve.go')
-rw-r--r--cmd/serve.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/serve.go b/cmd/serve.go
index 47406dd009..302f8568e1 100644
--- a/cmd/serve.go
+++ b/cmd/serve.go
@@ -88,7 +88,7 @@ func In(b string, sl map[string]int) bool {
}
func runServ(k *cli.Context) {
- setup("log/serv.log")
+ setup(path.Join(setting.LogRootPath, "serv.log"))
keys := strings.Split(os.Args[2], "-")
if len(keys) != 2 {