Merge pull request #736 from TuncTaylan/traefik-log-rotation

traefik log rotation with default values
This commit is contained in:
Owen Schwartz 2025-05-16 10:28:48 -04:00 committed by GitHub
commit 825730052b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 8 additions and 0 deletions

View file

@ -21,6 +21,10 @@ experimental:
log:
level: "INFO"
format: "json" # Log format changed to json for better parsing
maxSize: 100
maxBackups: 3
maxAge: 3
compress: true
accessLog: # We enable access logs as json
filePath: "/var/log/traefik/access.log"

View file

@ -18,6 +18,10 @@ experimental:
log:
level: "INFO"
format: "common"
maxSize: 100
maxBackups: 3
maxAge: 3
compress: true
certificatesResolvers:
letsencrypt: