This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
Register
Sign In
wangwei
/
aiforge
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
128
Wiki
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
Browse Source
Fix log bug
tags/v1.2.0-rc1
Unknown
11 years ago
parent
67bd2daa02
commit
91e6db1bae
2 changed files
with
3 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
modules/log/log.go
+2
-1
routers/install.go
+ 1
- 1
modules/log/log.go
View File
@@ -15,7 +15,7 @@ var (
)
func init() {
NewLogger(
1000
0, "console", `{"level": 0}`)
NewLogger(0, "console", `{"level": 0}`)
}
func NewLogger(bufLen int64, mode, config string) {
+ 2
- 1
routers/install.go
View File
@@ -6,6 +6,7 @@ package routers
import (
"errors"
"fmt"
"os"
"strings"
@@ -42,7 +43,7 @@ func GlobalInit() {
if base.InstallLock {
if err := models.NewEngine(); err != nil {
log.Error
("%v", err)
fmt.Println
("%v", err)
os.Exit(2)
}
Write
Preview
Loading…
Cancel
Save