diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2014-03-23 16:51:43 +0800 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2014-03-23 16:51:43 +0800 |
commit | d594bb386f92455079e56b48f5add16b05609dea (patch) | |
tree | db87d947edd64f7d6227e1516e0d361c3e922415 /serve.go | |
parent | d786a74a9f9d46c2d5925c7d43b040a44fe62843 (diff) | |
download | gitea-d594bb386f92455079e56b48f5add16b05609dea.tar.gz gitea-d594bb386f92455079e56b48f5add16b05609dea.zip |
log import fixed
Diffstat (limited to 'serve.go')
-rw-r--r-- | serve.go | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -15,7 +15,7 @@ import ( "strings" "github.com/codegangsta/cli" - "github.com/qiniu/log" + "github.com/gogits/gogs/modules/log" "github.com/gogits/git" "github.com/gogits/gogs/models" @@ -195,9 +195,9 @@ func runServ(k *cli.Context) { } // update - w, _ := os.Create("serve.log") - defer w.Close() - log.SetOutput(w) + //w, _ := os.Create("serve.log") + //defer w.Close() + //log.SetOutput(w) var t = "ok refs/heads/" var i int |