title: log4j2 enabling debug for specific classes from environment variable
body: <p>we are deploying a Java web application in JBoss 7.. 3 EAP.
  We need to enable set the debug level for some specific classes (i.e. org.mycompany.mypackage).
  As described here:
  <a href="https://logging.apache.org/log4j/2.x/manual/configuration.html" rel="nofollow noreferrer">https://logging.apache.org/log4j/2.x/manual/configuration.html</a> 
  just setting the environment variable </p>
  
  <pre><code>LOG4J_DEBUG
  </code></pre>
  
  <p>the log level is set to debug for whole system.
  We wonder if there is a way to do it for specific classes/packages
  Thank in advance
  r.</p>