title: Using different pattern for a specific logger in logback
body: <p>I am using logback with slf4j and I need to change the pattern for a specific logger but keep the appenders same. </p>
  
  <p>Here's my configuration:<code>logback.xml</code></p>
  
  <pre><code>&lt;configuration&gt;
  &lt;appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"&gt;
      &lt;!-- encoders are assigned the type ch.qos.logback.classic.encoder.PatternLayoutEncoder by default --&gt;
      &lt;encoder&gt;
          &lt;pattern&gt;%d{HH:mm:ss.SSS} [%thread] %-5level %class{36}:%L - %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;${logFile}&lt;/file&gt;
      &lt;append&gt;false&lt;/append&gt;
      &lt;!-- encoders are assigned the type ch.qos.logback.classic.encoder.PatternLayoutEncoder by default --&gt;
      &lt;encoder&gt;
          &lt;pattern&gt;%d{HH:mm:ss.SSS} [%thread] %-5level %class{36}:%L - %msg%n&lt;/pattern&gt;
      &lt;/encoder&gt;
  &lt;/appender&gt;
  &lt;!-- We want error logging from this logger to go to an extra appender It still inherits CONSOLE STDOUT from the root logger --&gt;
  &lt;logger name="${log.name:-com.mycompany}" level="${log.level:-INFO}"&gt;
      &lt;appender-ref ref="STDOUT" /&gt;
      &lt;appender-ref ref="FILE" /&gt;
  &lt;/logger&gt;
  &lt;logger name="completion-logger" level="${log.level:-INFO}"&gt;
      &lt;appender-ref ref="STDOUT" /&gt;
      &lt;appender-ref ref="FILE" /&gt;
  &lt;/logger&gt;
  &lt;/configuration&gt;
  </code></pre>
  
  <p>I would like to use a different pattern for 'completion-logger'. Is this possible?</p>