title: How to create unique Id per request for REST API in Spring-boot?
body: <p>I need to make my logs (log4j engine) to be more informative with a unique id per request for my REST API in Spring-Boot application.</p>
  
  <p>I want to avoid using a superclass which got requestId field and extend from it.</p>
  
  <p>I tried to look for a good example over the web, but it wasn't so clear.</p>
  
  <p>Is there any best practice that I can use?</p>