mirror of
https://github.com/astaxie/beego.git
synced 2024-11-25 21:01:31 +00:00
Merge branch 'master' of https://github.com/jialijelly/beego
This commit is contained in:
commit
338a23a12b
@ -190,6 +190,7 @@ func testFileRotate(t *testing.T, fn1, fn2 string) {
|
||||
Rotate: true,
|
||||
Level: LevelTrace,
|
||||
Perm: "0660",
|
||||
OtherPerm: "0440",
|
||||
}
|
||||
fw.Init(fmt.Sprintf(`{"filename":"%v","maxdays":1}`, fn1))
|
||||
fw.dailyOpenTime = time.Now().Add(-24 * time.Hour)
|
||||
@ -213,6 +214,7 @@ func testFileDailyRotate(t *testing.T, fn1, fn2 string) {
|
||||
Rotate: true,
|
||||
Level: LevelTrace,
|
||||
Perm: "0660",
|
||||
OtherPerm: "0440",
|
||||
}
|
||||
fw.Init(fmt.Sprintf(`{"filename":"%v","maxdays":1}`, fn1))
|
||||
fw.dailyOpenTime = time.Now().Add(-24 * time.Hour)
|
||||
|
Loading…
Reference in New Issue
Block a user