[SOLVED] Does Traefik have a way to custom format the access log and get the Request_Id?

Looks like you can leverage the tracing without a full jaeger setup. See this comment in github.

edit:
Here is a json access log and the header as received by a traefik/whoami service

traefik_1 | {"ClientAddr":"172.18.0.1:49866","ClientHost":"172.18.0.1","ClientPort":"49866","ClientUsername":"-","DownstreamContentSize":413,"DownstreamStatus":200,"Duration":39971759,"OriginContentSize":413,"OriginDuration":39636734,"OriginStatus":200,"Overhead":335025,"RequestAddr":"localhost","RequestContentSize":0,"RequestCount":2,"RequestHost":"localhost","RequestMethod":"GET","RequestPath":"/whoami","RequestPort":"-","RequestProtocol":"HTTP/1.1","RequestScheme":"http","RetryAttempts":0,"RouterName":"whoami@docker","ServiceAddr":"172.18.0.3:80","ServiceName":"whoami-10571@docker","ServiceURL":{"Scheme":"http","Opaque":"","User":null,"Host":"172.18.0.3:80","Path":"","RawPath":"","ForceQuery":false,"RawQuery":"","Fragment":"","RawFragment":""},"StartLocal":"2021-05-10T13:52:16.918115828Z","StartUTC":"2021-05-10T13:52:16.918115828Z","downstream_Content-Length":"413","downstream_Content-Type":"text/plain; charset=utf-8","downstream_Date":"Mon, 10 May 2021 13:52:16 GMT","entryPointName":"web","level":"info","msg":"","origin_Content-Length":"413","origin_Content-Type":"text/plain; charset=utf-8","origin_Date":"Mon, 10 May 2021 13:52:16 GMT","request_Accept":"/","request_User-Agent":"curl/7.68.0","request_X-Forwarded-Host":"localhost","request_X-Forwarded-Port":"80","request_X-Forwarded-Proto":"http","request_X-Forwarded-Server":"77cbda8be111","request_X-Real-Ip":"172.18.0.1","request_X-Request-Id":"5f67d067566073cf:39dd5a59db9a5ed0:5f67d067566073cf:0","time":"2021-05-10T13:52:16Z"}

curl localhost/whoami
Hostname: 4424944b2024
IP: 127.0.0.1
IP: 172.18.0.3
RemoteAddr: 172.18.0.2:57996
GET /whoami HTTP/1.1
Host: localhost
User-Agent: curl/7.68.0
Accept: /
Accept-Encoding: gzip
X-Forwarded-For: 172.18.0.1
X-Forwarded-Host: localhost
X-Forwarded-Port: 80
X-Forwarded-Proto: http
X-Forwarded-Server: 77cbda8be111
X-Real-Ip: 172.18.0.1
X-Request-Id: 5f67d067566073cf:39dd5a59db9a5ed0:5f67d067566073cf:0