mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-01 05:36:19 +01:00
log import fixed
This commit is contained in:
parent
d786a74a9f
commit
d594bb386f
1 changed files with 4 additions and 4 deletions
8
serve.go
8
serve.go
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue