title: How to log any outgoing responses from @RestController?
body: <p>I'm using <code>CommonsRequestLoggingFilter</code> to log any incoming requests on my <code>@RestController</code>.</p>
  
  <pre><code>@RestController
  public class MyController {
      @PostMapping("/")
      public MyRsp ping() {
          ...
          return myRsp;
      }
  }
  </code></pre>
  
  <p>The users will send <code>POST JSON</code> requests, which are already logged using:</p>
  
  <pre><code>@Bean
  public CommonsRequestLoggingFilter requestLoggingFilter() {
      CommonsRequestLoggingFilter filter = new CommonsRequestLoggingFilter();
      filter.setIncludeClientInfo(true);
      filter.setIncludeQueryString(true);
      filter.setIncludePayload(true);
      return filter;
  }
  </code></pre>
  
  <p>Question: how can I achieve the same for the JSON Response that I sent back to the user?</p>