Merge pull request #452 from cschug/fix_issue_451

fix: update valid values of Traefik's log and accessLog setting
This commit is contained in:
Christoph Schug 2024-10-12 01:06:43 +02:00 committed by GitHub
commit 50d312ea52
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2,16 +2,16 @@ global:
checkNewVersion: false checkNewVersion: false
sendAnonymousUsage: false sendAnonymousUsage: false
# -- (Optional) Change Log Level and Format here... # -- (Optional) Change log level and format here ...
# - loglevels [DEBUG, INFO, WARNING, ERROR, CRITICAL] # - level: [TRACE, DEBUG, INFO, WARN, ERROR, FATAL]
# - format [common, json, logfmt] # - format: [common, json]
# log: # log:
# level: ERROR # level: ERROR
# format: common # format: common
# filePath: /var/log/traefik/traefik.log # filePath: /var/log/traefik/traefik.log
# -- (Optional) Enable Accesslog and change Format here... # -- (Optional) Enable accesslog and change format here ...
# - format [common, json, logfmt] # - format: [common, json]
# accesslog: # accesslog:
# format: common # format: common
# filePath: /var/log/traefik/access.log # filePath: /var/log/traefik/access.log