title: Log4j extending Logger
body: <p>I've extended the Log4J Logger class and created a custom Logger class that decides whether to to log or not.</p>
  
  <p>My pattern layout has the <code>%F</code> and <code>%M</code> parameters to show the class name and method name from where the log was executed.</p>
  
  <p>The problem is that instead of showing the exception caller class and method name it show my custom logger's class and method name!</p>
  
  <p>What do I need to do to shows the correct information?</p>