1
0
Fork 0

New logger for the Traefik logs

This commit is contained in:
Ludovic Fernandez 2022-11-21 18:36:05 +01:00 committed by GitHub
parent 27c02b5a56
commit 56f7515ecd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
297 changed files with 2337 additions and 1934 deletions

View file

@ -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{

View file

@ -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 @@
}
}
}
}
}