title: Java Logger in subclass
body: <p>To get C.run() to use its own class logger, should I add a public/protected method getLogger() in B?</p>
  
  <pre><code>public abstract class A extends Thread {
      @Override
      public abstract void run();
  }
  
  public class B extends A {
  
      private static final Logger logger = Logger.getLogger(B.class.getName());
  
      @Override
      protected void run() {
          // do something
  
          logger.info("B");
      }
  }
  
  public class C extends B {
  }
  </code></pre>