title: Logback add Error appender made the others appenders not work
body: <p>Here is my logback.xml;</p>
  <pre><code>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
  &lt;configuration&gt;
  
      &lt;property name=&quot;LOGS&quot; value=&quot;./logs&quot;/&gt;
  
      &lt;appender name=&quot;Console&quot;
                class=&quot;ch.qos.logback.core.ConsoleAppender&quot;&gt;
          &lt;layout class=&quot;ch.qos.logback.classic.PatternLayout&quot;&gt;
              &lt;Pattern&gt;
                  %d{ISO8601} %highlight(%-5level) [%blue(%t)] %yellow(%C{1.} [%M#%L]) %X{serialID}: %msg%n%throwable
              &lt;/Pattern&gt;
          &lt;/layout&gt;
      &lt;/appender&gt;
  
      &lt;appender name=&quot;RollingFile&quot;
                class=&quot;ch.qos.logback.core.rolling.RollingFileAppender&quot;&gt;
          &lt;file&gt;${LOGS}/info-file.log&lt;/file&gt;
          &lt;encoder
                  class=&quot;ch.qos.logback.classic.encoder.PatternLayoutEncoder&quot;&gt;
              &lt;Pattern&gt;%d %highlight(%-5level) [%blue(%t)] %yellow(%C{1.} [%M#%L]) : %msg%n%throwable&lt;/Pattern&gt;
          &lt;/encoder&gt;
      &lt;/appender&gt;
  
      &lt;appender name=&quot;DexLogFile&quot;
                class=&quot;ch.qos.logback.core.rolling.RollingFileAppender&quot;&gt;
          &lt;file&gt;${LOGS}/dex.log&lt;/file&gt;
          &lt;encoder
                  class=&quot;ch.qos.logback.classic.encoder.PatternLayoutEncoder&quot;&gt;
              &lt;Pattern&gt;%d %highlight(%-5level) [%blue(%t)] %yellow(%C{1.} [%M#%L]) : %msg%n%throwable&lt;/Pattern&gt;
          &lt;/encoder&gt;
      &lt;/appender&gt;
  
      &lt;appender name=&quot;ErrorLogFile&quot;
                class=&quot;ch.qos.logback.core.rolling.RollingFileAppender&quot;&gt;
          &lt;file&gt;${LOGS}/error.log&lt;/file&gt;
          &lt;encoder
                  class=&quot;ch.qos.logback.classic.encoder.PatternLayoutEncoder&quot;&gt;
              &lt;Pattern&gt;%d %highlight(%-5level) [%blue(%t)] %yellow(%C{1.} [%M#%L]) : %msg%n%throwable&lt;/Pattern&gt;
          &lt;/encoder&gt;
      &lt;/appender&gt;
  
      &lt;!-- LOG everything at INFO level --&gt;
      &lt;root level=&quot;info&quot;&gt;
          &lt;appender-ref ref=&quot;Console&quot;/&gt;
          &lt;appender-ref ref=&quot;RollingFile&quot;/&gt;
      &lt;/root&gt;
  
  
      &lt;logger name=&quot;com.ssca&quot; level=&quot;info&quot; additivity=&quot;false&quot;&gt;
          &lt;appender-ref ref=&quot;DexLogFile&quot;/&gt;
      &lt;/logger&gt;
  
      &lt;logger name=&quot;ur.company&quot; level=&quot;trace&quot; additivity=&quot;false&quot;&gt;
          &lt;appender-ref ref=&quot;Console&quot;/&gt;
      &lt;/logger&gt;
  
      &lt;logger name=&quot;ur.company&quot; level=&quot;info&quot; additivity=&quot;false&quot;&gt;
          &lt;appender-ref ref=&quot;RollingFile&quot;/&gt;
      &lt;/logger&gt;
  
      &lt;logger name=&quot;ur.company&quot; level=&quot;error&quot; additivity=&quot;false&quot;&gt;
          &lt;appender-ref ref=&quot;ErrorLogFile&quot;/&gt;
      &lt;/logger&gt;
  
  &lt;/configuration&gt;
  </code></pre>
  <p>I just wanna a <strong>clearly error log file</strong>, so I tried to redirect error to the error.log, so I added those lines:</p>
  <pre><code> &lt;logger name=&quot;ur.company&quot; level=&quot;error&quot; additivity=&quot;false&quot;&gt;
          &lt;appender-ref ref=&quot;ErrorLogFile&quot;/&gt;
   &lt;/logger&gt;
  </code></pre>
  <p>Without this code, everything was fine. However once I added those lines, the RollingFile appender and Console appender did not work any more...</p>
  <p>It's like log level problem, but I tried to remove additivity, not work either.</p>
  <p>I've read the logback website, but didn't find any helpfuls.</p>
  <hr />
  <p>I used lombok @slf4j annotation, Does that cause this conflicts?</p>