title: Override logging in WildFly
body: <p>I used tomcat and simply override default logging system. How to enable logging with logback on wildfly in my spring app?</p>
  
  <p>My Logback.xml owrking on tomcat</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;configuration&gt;
      &lt;appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"&gt;
          &lt;filter class="ch.qos.logback.classic.filter.LevelFilter"&gt;
              &lt;level&gt;ERROR&lt;/level&gt;
              &lt;onMatch&gt;ACCEPT&lt;/onMatch&gt;
              &lt;onMismatch&gt;DENY&lt;/onMismatch&gt;
          &lt;/filter&gt;
          &lt;encoder&gt;
              &lt;pattern&gt;%-4relative [%thread] %-5level %logger{35} - %msg %n&lt;/pattern&gt;
          &lt;/encoder&gt;
      &lt;/appender&gt;
  
      &lt;logger name="org.springframework" level="WARN" /&gt;
      &lt;logger name="com.citronium.planstery" level="INFO" /&gt;
      &lt;logger name="org.apache.http.impl.conn.tsccm" level="ERROR" /&gt;
  
      &lt;root level="INFO"&gt;
          &lt;appender-ref ref="STDOUT" /&gt;
      &lt;/root&gt;
  &lt;/configuration&gt;
  </code></pre>