title: Log4j2 backward compatibility problems
body: <p>I'm trying to migrate from log4j to log4j2. The configurations are in place and even logging is working properly as per my configurations. But it only works when I use the following imports and configurators.</p>
  
  <pre><code>import org.apache.logging.log4j.Logger;
  import org.apache.logging.log4j.LogManager;
  .
  .
  Configurator.initialize(null, pathToConfigFile);
  .
  .
  private static final Logger LOGGER = LogManager.getLogger(MetricsTopic.class);
  </code></pre>
  
  <p>However, my older import is still a valid import but doesn't seem to load the configuration properly. 
  here are the older imports (which do not work):</p>
  
  <pre><code>import org.apache.log4j.Logger;
  private static final Logger LOGGER = Logger.getLogger(MetricsTopic.class);
  </code></pre>
  
  <p>can anyone guide me on this?</p>