title: logback loading all appenders
body: <p>I have a logback.xml file with 3 appender in : 1 ConsoleAppender and 2 FileAppender</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;Target&gt;System.out&lt;/Target&gt;
          &lt;encoder&gt;
              &lt;pattern&gt;[%d{yyyy-MM-dd HH:mm:ss}] %msg%m%n%ex&lt;/pattern&gt;
          &lt;/encoder&gt;
      &lt;/appender&gt;
  
      &lt;appender name="bAppender" class="ch.qos.logback.core.FileAppender"&gt;
          &lt;file&gt;logs/b.txt&lt;/file&gt;
          &lt;append&gt;true&lt;/append&gt;
          &lt;encoder&gt;
              &lt;pattern&gt;[%d{yyyy-MM-dd HH:mm:ss}] -[%t] %-4r %-5p %c : %n%m%n&lt;/pattern&gt;
          &lt;/encoder&gt;
      &lt;/appender&gt;
  
  
      &lt;appender name="aAppender" class="ch.qos.logback.core.FileAppender"&gt;
          &lt;file&gt;logs/a.txt&lt;/file&gt;
          &lt;append&gt;false&lt;/append&gt;
          &lt;encoder&gt;
              &lt;pattern&gt;[%d{dd/MM/yyyy : HH:mm:ss}  %level - %logger] %m%n&lt;/pattern&gt;
          &lt;/encoder&gt;
      &lt;/appender&gt;
  
      &lt;logger name="aLogger" additivity="false"&gt;
          &lt;level value="DEBUG" /&gt;
          &lt;appender-ref ref="aAppender" /&gt;        
      &lt;/logger&gt;
  
      &lt;root level="info"&gt;
          &lt;appender-ref ref="stdout"/&gt;
      &lt;/root&gt;
  &lt;/configuration&gt;
  </code></pre>
  
  <p>The problem is when i launch the program associated with aLogger<code>(Logger LOGGER = LoggerFactory.getLogger("aLogger");</code>. It add the bAppend as well ( and so create a empty b.txt file ....)</p>
  
  <p>It's like logback call and execute all appender when a logger is called regardless attached appender.
  How to avoid this behaviour ?</p>
  
  <p>Thank you very much </p>