title: Wildfly disabling logging subsystem
body: <p>in my web application i need to use my logging framework. The framework is loaded by each webapplication like a jar dependency.</p>
  
  <p>In order to disable jboss logging subsystem i tried to create a </p>
  
  <pre><code>jboss-deployment-structure.xml
  </code></pre>
  
  <p>file copied in:</p>
  
  <pre><code>(firt try)- webapplication.war\WEB-INF\
  (second try) - webapplication.war\WEB-INF\lib\my_framework.jar\META-INF\
  </code></pre>
  
  <p>the content of the file is:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;jboss-deployment-structure&gt;
      &lt;deployment&gt;
          &lt;exclusions&gt;
              &lt;module name="org.jboss.as.logging (or org.jboss.logging)" /&gt; 
          &lt;/exclusions&gt;
      &lt;/deployment&gt;
  </code></pre>
  
  <p>But nothing seems to change in the log process.
  I checked the framework MANIFEST.MF and no other dependencies are imported.</p>
  
  <p>I also realized that by cancelling the logging subsystem from standalone.xml the custom logging framework works fine.
      </p>