title: Unable to enable logging using CustomizableTraceInterceptor in Spring 3.0.6
body: <p>I have a very simple setup </p>
  
  <p>I have an <code>applicationContext.xml</code> file like this :</p>
  
  <pre><code>    &lt;context:component-scan base-package="com.mkyong.common.controller" /&gt;
  
      &lt;bean id="customizableTraceInterceptor"
          class="org.springframework.aop.interceptor.CustomizableTraceInterceptor"&gt;
          &lt;property name="enterMessage" value="Entering $[methodName]($[arguments])" /&gt;
          &lt;property name="exitMessage" value="Leaving $[methodName](): $[returnValue]" /&gt;
      &lt;/bean&gt;
      &lt;bean
          class="org.springframework.aop.framework.autoproxy.BeanNameAutoProxyCreator"&gt;
          &lt;property name="beanNames"&gt;
              &lt;list&gt;
                  &lt;value&gt;*Service&lt;/value&gt;
              &lt;/list&gt;
          &lt;/property&gt;
          &lt;!-- &lt;property name="proxyTargetClass" value="true" /&gt; --&gt;
          &lt;property name="interceptorNames"&gt;
              &lt;list&gt;
                  &lt;value&gt;customizableTraceInterceptor&lt;/value&gt;
              &lt;/list&gt;
          &lt;/property&gt;
      &lt;/bean&gt;
      &lt;mvc:annotation-driven /&gt;
  
      &lt;bean id="wowService" class="org.daud.WowService" scope="prototype" /&gt;
  &lt;/beans&gt;
  </code></pre>
  
  <p>The controller class is also very simple :</p>
  
  <pre><code>@Controller
  @RequestMapping("/welcome")
  public class HelloController {
  
      @Autowired
      private WowService wowService;
  
      @RequestMapping(method = RequestMethod.GET)
      public String printWelcome(ModelMap model) {
  
          getWowService().printIt();
          model.addAttribute("message", "Spring 3 MVC Hello World");
          return "hello";
  
      }
  
      public WowService getWowService() {
          return wowService;
      }
  
      public void setWowService(WowService wowService) {
          this.wowService = wowService;
      }
  
  }
  </code></pre>
  
  <p>The web.xml is :</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;web-app xmlns="http://java.sun.com/xml/ns/javaee"
           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
           xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
           version="3.0" metadata-complete="true"&gt;
  
      &lt;display-name&gt;simple-form&lt;/display-name&gt;
  
      &lt;listener&gt;
          &lt;listener-class&gt;
              org.springframework.web.context.ContextLoaderListener
          &lt;/listener-class&gt;
      &lt;/listener&gt;
  
      &lt;context-param&gt;
          &lt;param-name&gt;contextConfigLocation&lt;/param-name&gt;
          &lt;param-value&gt;
              /WEB-INF/applicationContext.xml
          &lt;/param-value&gt;
      &lt;/context-param&gt;
  
      &lt;servlet&gt;
          &lt;servlet-name&gt;simple-form&lt;/servlet-name&gt;
          &lt;servlet-class&gt;org.springframework.web.servlet.DispatcherServlet&lt;/servlet-class&gt;
          &lt;init-param&gt;
              &lt;param-name&gt;contextConfigLocation&lt;/param-name&gt;
              &lt;param-value&gt;&lt;/param-value&gt;
          &lt;/init-param&gt;
      &lt;/servlet&gt;
  
      &lt;servlet-mapping&gt;
          &lt;servlet-name&gt;simple-form&lt;/servlet-name&gt;
          &lt;url-pattern&gt;/*&lt;/url-pattern&gt;
      &lt;/servlet-mapping&gt;
  
      &lt;welcome-file-list&gt;
          &lt;welcome-file&gt;index.jsp&lt;/welcome-file&gt;
      &lt;/welcome-file-list&gt;
  
  &lt;/web-app&gt;
  </code></pre>
  
  <p><code>WowService</code> is also very simple</p>
  
  <pre><code>public class WowService {
  
      public String printIt() {
          return "daud";
  
      }
  }
  </code></pre>
  
  <p>I have the <code>spring jars of version 3.0.6</code>, <code>aopalliance-1.0.jar</code> and <code>commons-logging-1.1.1.jar</code> in my lib folder and nothing else. But there is no trace being recorded.. i.e there is no logging being done when we enter the method of <code>WowService</code>, or when we leave it. I can't figure out why.</p>