mirror of
https://github.com/go-gitea/gitea.git
synced 2024-11-24 11:09:44 +08:00
Merge branch 'master' of localhost:xiaoxiao/gogs6
Conflicts: .gitignore
This commit is contained in:
commit
2ec111e1a2
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,3 +1,4 @@
|
||||
|
||||
gogs
|
||||
*.exe
|
||||
*.exe~
|
||||
|
3
serve.go
3
serve.go
@ -46,8 +46,9 @@ gogs serv provide access auth for repositories`,
|
||||
}
|
||||
|
||||
func init() {
|
||||
level := "0"
|
||||
os.MkdirAll("log", os.ModePerm)
|
||||
log.NewLogger(10000, "file", fmt.Sprintf(`{"filename":"%s"}`, "log/serv.log"))
|
||||
log.NewLogger(10000, "file", fmt.Sprintf(`{"level":%s,"filename":"%s"}`, level, "log/serv.log"))
|
||||
log.Info("start logging...")
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user