title: How to use logback + slf4j in a Spring Boot war application deployed on JBoss EAP7 - Currently it doesn't log anything
body: <p>I have a Spring Boot (1.5.10) War application deployed on JBoss EAP7.0. I have left all the logging configuration as it comes with Spring Boot. I want to specify the log levels and the rest of the stuff using the <code>logging.xxx</code> properties, not the logback xml file.</p>
  
  <p>The point is JBoss starts and prints up to here:</p>
  
  <pre><code>14:04:19,866 INFO  [stdout] (ServerService Thread Pool -- 68) 14:04:19.865 [ServerService Thread Pool -- 68] DEBUG org.springframework.web.context.support.StandardServletEnvironment - Replacing PropertySource 'servletContextInitParams' with 'servletContextInitParams'
  Connected to server
  [2018-02-05 02:04:39,152] Artifact Gradle : xxx : yyy-1.0.0-SNAPSHOT.war (exploded): Artifact is being deployed, please wait...
  [2018-02-05 02:04:55,092] Artifact Gradle : xxx : yyy-1.0.0-SNAPSHOT.war (exploded): Artifact is deployed successfully
  [2018-02-05 02:04:55,092] Artifact Gradle : xxx : yyy-1.0.0-SNAPSHOT.war (exploded): Deploy took 15,940 milliseconds
  </code></pre>
  
  <p>Then the Spring Boot application should be tracing but there's nothing in the console, nor in the server.log file</p>
  
  <p>If I deploy it on a Tomcat server it works OK.</p>
  
  <p>I have tried several things, including setting this in jboss-deployment-structure.xml, but none of them work:</p>
  
  <pre><code>&lt;exclusions&gt;
      &lt;module name="org.apache.commons.logging" /&gt;
      &lt;module name="org.apache.log4j" /&gt;
      &lt;module name="org.jboss.logging" /&gt;
      &lt;module name="org.jboss.logging.jul-to-slf4j-stub" /&gt;
      &lt;module name="org.jboss.logmanager" /&gt;
      &lt;module name="org.jboss.logmanager.log4j" /&gt;
      &lt;module name="org.slf4j" /&gt;
      &lt;module name="org.slf4j.impl" /&gt;
      &lt;module name="org.slf4j.jcl-over-slf4j" /&gt;
  </code></pre>