New logger for the Traefik logs
This commit is contained in:
parent
27c02b5a56
commit
56f7515ecd
297 changed files with 2337 additions and 1934 deletions
|
@ -845,9 +845,13 @@ func TestDo_staticConfiguration(t *testing.T) {
|
|||
}
|
||||
|
||||
config.Log = &types.TraefikLog{
|
||||
Level: "Level",
|
||||
FilePath: "/foo/path",
|
||||
Format: "json",
|
||||
Level: "Level",
|
||||
Format: "json",
|
||||
FilePath: "/foo/path",
|
||||
MaxSize: 5,
|
||||
MaxAge: 3,
|
||||
MaxBackups: 4,
|
||||
Compress: true,
|
||||
}
|
||||
|
||||
config.AccessLog = &types.AccessLog{
|
||||
|
|
|
@ -336,8 +336,12 @@
|
|||
},
|
||||
"log": {
|
||||
"level": "Level",
|
||||
"format": "json",
|
||||
"filePath": "xxxx",
|
||||
"format": "json"
|
||||
"maxSize": 5,
|
||||
"maxAge": 3,
|
||||
"maxBackups": 4,
|
||||
"compress": true
|
||||
},
|
||||
"accessLog": {
|
||||
"filePath": "xxxx",
|
||||
|
@ -466,4 +470,4 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue