Thank you for your ideas. I ended up using Plug.RequestId and use Logger.metadata[:request_id] to where needed.
Logger.metadata[:request_id]