title: Package-specific logging levels for different Logback appenders
body: <p>I have this simple Logback config file, containing two appenders and some custom logging levels based on package name.</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;!DOCTYPE xml&gt;
  &lt;configuration&gt;
  
      &lt;appender name="CONSOLE" class="ch.qos.logback.core.ConsoleAppender"&gt;
          &lt;encoder&gt;
              &lt;charset&gt;UTF-8&lt;/charset&gt;
              &lt;pattern&gt;%date{HH:mm}\t%-5level\t%msg%n&lt;/pattern&gt;
          &lt;/encoder&gt;
      &lt;/appender&gt;
  
      &lt;appender name="FILE" class="ch.qos.logback.core.FileAppender"&gt;
          &lt;file&gt;my_logger.log&lt;/file&gt;
          &lt;encoder&gt;
              &lt;charset&gt;UTF-8&lt;/charset&gt;
              &lt;pattern&gt;%date{dd MMM HH:mm}|%class{0}|%-5level|%msg%n&lt;/pattern&gt;
          &lt;/encoder&gt;
      &lt;/appender&gt;
  
      &lt;!-- custom logging levels --&gt;
      &lt;logger name="myapp.package1" level="INFO" /&gt;
      &lt;logger name="myapp.package2" level="INFO" /&gt;
  
      &lt;root&gt;
          &lt;appender-ref ref="CONSOLE" /&gt;
          &lt;appender-ref ref="FILE" /&gt;
      &lt;/root&gt;
  
  &lt;/configuration&gt;
  </code></pre>
  
  <p>With this configuration, the custom logging levels are applied for both appenders.</p>
  
  <p>How can I change it so that only <code>ConsoleAppender</code> uses these custom logging levels, while <code>FileAppender</code> sticks to default levels?</p>