New logger for the Traefik logs
This commit is contained in:
parent
27c02b5a56
commit
56f7515ecd
297 changed files with 2337 additions and 1934 deletions
|
@ -246,6 +246,9 @@ The TLS key for Traefik Proxy as a TLS client.
|
|||
`--log`:
|
||||
Traefik log settings. (Default: ```false```)
|
||||
|
||||
`--log.compress`:
|
||||
Determines if the rotated log files should be compressed using gzip. (Default: ```false```)
|
||||
|
||||
`--log.filepath`:
|
||||
Traefik log file path. Stdout is used when omitted or empty.
|
||||
|
||||
|
@ -255,6 +258,18 @@ Traefik log format: json | common (Default: ```common```)
|
|||
`--log.level`:
|
||||
Log level set to traefik logs. (Default: ```ERROR```)
|
||||
|
||||
`--log.maxage`:
|
||||
Maximum number of days to retain old log files based on the timestamp encoded in their filename. (Default: ```0```)
|
||||
|
||||
`--log.maxbackups`:
|
||||
Maximum number of old log files to retain. (Default: ```0```)
|
||||
|
||||
`--log.maxsize`:
|
||||
Maximum size in megabytes of the log file before it gets rotated. (Default: ```0```)
|
||||
|
||||
`--log.nocolor`:
|
||||
When using the 'common' format, disables the colorized output. (Default: ```false```)
|
||||
|
||||
`--metrics.datadog`:
|
||||
Datadog metrics exporter type. (Default: ```false```)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue