I want the request and response body to be logged along with the headers passed in access logs of traefik proxy as I want to test it e2e. Can someone please guide me to the correct documentation or way to do it?
There are many contributed Traefik plugins available (link), but none seem to log request and response body.
But, as there are body filter plugins available, it seems the middleware has access to request and response body, so you could implement your own logger with a Traefik plugin using go-lang. (Doc)