title: How to get All apenders form log4j2 root logger
body: <p>In log4j 1.2 we can get all the appenders of root logger in the following way.</p>
  
  <pre><code>Enumeration&lt;Appender&gt; it = Logger.getRootLogger().getAllAppenders();
  </code></pre>
  
  <p>In log4j2 is there something similar to get the root logger and its appenders ?</p>