Update Proxy_Containers/traefik/traefik.yaml
This commit is contained in:
@@ -44,8 +44,16 @@ certificatesResolvers:
|
|||||||
log:
|
log:
|
||||||
level: "INFO"
|
level: "INFO"
|
||||||
filePath: "/var/log/traefik/traefik.log"
|
filePath: "/var/log/traefik/traefik.log"
|
||||||
|
maxSize: 100 # MB per file
|
||||||
|
maxBackups: 3 # keep last 3 rotated files
|
||||||
|
maxAge: 7 # days before deletion
|
||||||
|
compress: true # gzip rotated files
|
||||||
accessLog:
|
accessLog:
|
||||||
filePath: "/var/log/traefik/access.log"
|
filePath: "/var/log/traefik/access.log"
|
||||||
|
bufferingSize: 100
|
||||||
|
filters:
|
||||||
|
statusCodes:
|
||||||
|
- "400-599" # only log errors — reduces volume significantly
|
||||||
|
|
||||||
global:
|
global:
|
||||||
checkNewVersion: false
|
checkNewVersion: false
|
||||||
|
|||||||
Reference in New Issue
Block a user