title: How to add tracking id for each request in fastify?
body: <p>Im using fastify as backend of my app. I also using pino logger.</p>
  <pre><code>const fastify = require('fastify')({
  logger: true
  })
  </code></pre>
  <p>I need that every time Im writing <code>fastify.log.info(&quot;something&quot;)</code> I need to see the log (in my terminal) with some trackingId. Like <code>{message: something, trackingId: 123}</code>. The tracking id should be the same throughout the request.</p>
  <p>I tried to find how to do this in <a href="https://www.fastify.io/docs/latest/Reference/Logging/" rel="nofollow noreferrer">fastify logger docs</a> and <a href="https://github.com/pinojs/pino" rel="nofollow noreferrer">pino logger</a> without success.</p>