mirror of
https://github.com/Haxxnet/Compose-Examples
synced 2025-01-18 07:17:05 +00:00
Update traefik.yml
log failed http requests only in the default conf. Reduces log size for beginners that have not yet configured logrotation.
This commit is contained in:
parent
086c76154d
commit
82e4ee6d93
|
@ -16,10 +16,10 @@ log:
|
|||
accessLog:
|
||||
filePath: "/logs/traefik.log"
|
||||
format: json
|
||||
#filters:
|
||||
# statusCodes:
|
||||
# - "200"
|
||||
# - "300-302"
|
||||
filters:
|
||||
statusCodes:
|
||||
# - "200" # log successful http requests
|
||||
- "400-599" # log failed http requests
|
||||
#retryAttempts: true
|
||||
#minDuration: "10ms"
|
||||
# collect logs as in-memory buffer before writing into log file
|
||||
|
|
Loading…
Reference in New Issue
Block a user