<p>I have a project with microservices in kubernetes connected though rest swagger clients.
I want to make logging of all request and response payloads.
So that for each request there is an id and information about where it came from with full payload. And for each service to service call as well.</p>

<p>Is it possible to do that with Istio? 
There is distributed tracing tools: zipkin, jaeger. But looks like they log only time. </p>

<p>Or better to handle it each app code internally?</p>

ogbofjnr
<p>By default, you don't have a logging system on Istio. I mean, besides the native logging of Kubernetes.</p>

<p>Zipkin and Jaeger are tracing systems, meaning for latency, not for logging.</p>

<p>You can definitely get this info through Istio components, but you will have to set it up first. I found <a href="https://istio.io/docs/tasks/observability/logs/" rel="nofollow noreferrer">this</a> articles; in Istio website about how to collect logs. I would say <code>Fluentd</code> + <code>Elasticsearch</code> would give you something as powerful as you need. Unfortunately I don't have any examples.</p>
