title: Spring RestTemplate: Request/response json not getting logged
body: <p>I am having a Spring boot application and using RestTemplate for my REST API. Logger is slf4j. My problem is I am not able to logs the json request/response. </p>
  
  <p>My application.yml configuration:</p>
  
  <pre><code>logging:
    level:
      org.springframework.web: DEBUG
      org.springframework.web.client: DEBUG
      org.springframework.web.client.RestTemplate: DEBUG
      com.rbc.myadvisor.advisor.manager.rest: DEBUG
      org.hibernate: ERROR
      org.apache.http: DEBUG
      org.apache.http.wire: DEBUG
  </code></pre>
  
  <p>With this configuration, I was expecting logs to having request/response json but somehow that logs are not getting printed.</p>
  
  <p>Any help would be greatly appreciated!!</p>