title: use Logger.getLogger() every time I need it or create once per class
body: <p>I am using Java util Logger. According to the documentation for Logger.getLogger method, it says, "Find or create a logger for a named subsystem. If a logger has already been created with the given name it is returned. Otherwise a new logger is created.". Would there still be any benefit in calling it only once per class? </p>
  
  <p>Option 1:</p>
  
  <pre><code>public class Myclass 
      static Logger logger = Logger.getLogger(Myclass.class);
  
      public void method1() {
          logger.log(...);
      }
  
      public void method2() {
          logger.log(....);
      }
  }
  </code></pre>
  
  <p>Option 2:<br></p>
  
  <pre><code>public class Myclass {
      public void method1() {
          Logger.getLogger(Myclass.class).log(...);
      }
  
      public void method2() {
          Logger.getLogger(Myclass.class).log(...);
      }
  }
  </code></pre>