title: Putting Logger.info in static block
body: <p>I have the following class</p>
  
  <pre><code>public class MyClass
  {
      private static final Logger logger = Logger.getLogger(MyClass.class);
  
      static
      {
          logger.info("some text");
      }
  }
  </code></pre>
  
  <p>Is it safe to assume that by the time we reach <code>logger.info</code>, the log4j system is initialized and is ready to emit logs? </p>
  
  <p>It seems that if I am able to do a <code>Logger.getLogger()</code> and get back a valid Logger instance, it means that Log4j is initialized, right?</p>