title: Integration of log4j v2 into JBoss 7.1.1
body: <p>I am curious how should I force jboss 7.1.1 to use Apaches Log4j 2 instead of org.jboss.as.logging, because I would like to do some performance comparison of log4j2 and jboss.as.logging (I have given up on log4j because it seems to have similar performance as jboss.as.logging).</p>
  
  <p>Log4j2 Official website: <a href="http://logging.apache.org/log4j/2.x/" rel="nofollow">http://logging.apache.org/log4j/2.x/</a></p>
  
  <p>I suppose I need to create a new module for the log4j2 library in jboss modules.</p>
  
  <p>Then what? Do I need any changes in standalone.xml? Any changes for jboss-deployment-structure.xml?
  How can I tell jboss where to search for the log4j2 library?</p>
  
  <p>Thanks for any suggestions. I am a bit stuck here.</p>