title: how to print specific class logs which mentioned in log4j properties file using spring AOP
body: <p>I am new to spring and log4j
  I try to implement logging using aop and log4j.
   my logger class as below</p>
  
  <pre><code>  @Aspect
      public class AspectLogger {
          private Logger log = Logger.getLogger(getClass());
  
  
          @Before("execution(* controller.*.*(..)))")
          public void logBeforeV1(JoinPoint joinPoint) 
          {
              log.debug("entering " + joinPoint.getSignature().getName());
          }
      }
  </code></pre>
  
  <p>In my controller package there are more than 20 classes and when mentioned @Before("execution(* controller.<em>.</em>(..)))")
  entering log for all classes method are printed.</p>
  
  <p>So how to print log only those classes which configured in log4j.properties file.</p>