Update traefik.yml

log failed http requests only in the default conf. Reduces log size for beginners that have not yet configured logrotation.
pull/2/head
LRVT 2023-02-19 13:54:37 +01:00 zatwierdzone przez GitHub
rodzic 086c76154d
commit 82e4ee6d93
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 4 dodań i 4 usunięć

Wyświetl plik

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