title: How to log time taken by Rest web service in Spring Boot?
body: <p>I am writing a web Rest web service using <strong>Spring Boot</strong>.</p>
  
  <p>I want to log time taken by my webservice to process request.
  Also I want to log headers,method and URI called.</p>
  
  <p>I have done similar in my jersey web service few months back using <code>ContainerRequestFilter and ContainerResponseFilter filter() method.</code></p>
  
  <p>Also, AOP is Better or Filter? </p>