title: BasicConfigurator replacement in log4j2
body: <p>I am working on a log4j 1 to log4j 2 migration. Inside a AppConfigInitializer file we use something like this - </p>
  
  <pre><code>BasicConfigurator.configure(consoleAppender);
  </code></pre>
  
  <p>What shall I replace this with to get it working in log4j2. I am using the backward compatibility bridge as well but that has broken BasicConfigurator implementation. </p>
  
  <p>I think I need to do this using config file, but not able to find how.  </p>