title: FilterRegistrationBean url pattern doesn't work
body: <p>I am registering a filter as shown below For log output</p>
  <p>i want url pattern : <code>/*/api/*</code></p>
  <pre><code>
  @Bean
  public CommonsRequestLoggingFilter commonsRequestLoggingFilter() {
      CommonsRequestLoggingFilter filter = new CommonsRequestLoggingFilter();
      filter.setIncludeClientInfo(true);
      filter.setIncludeHeaders(true);
      filter.setIncludePayload(true);
      filter.setIncludeQueryString(true);
      filter.setMaxPayloadLength(1000);
      return filter;
  }
  
  
       @Bean
      public FilterRegistrationBean filterRegistrationBean () {
          final FilterRegistrationBean registrationBean = new FilterRegistrationBean();
          registrationBean.addUrlPatterns(&quot;/*/api/*&quot;);
  
          return registrationBean;
      }
  </code></pre>