title: Spring Boot logging pattern
body: <p>I have a problem with configuration on Logback in a Spring Boot application. I want my <code>consoleAppender</code> to look like the default Spring Boot console appender. How to inherit pattern from Spring Boot default console appender?</p>
  
  <p>Below is my <code>consoleAppender</code> configuration</p>
  
  <pre><code>&lt;appender name="consoleAppender" class="ch.qos.logback.core.ConsoleAppender"&gt;
      &lt;layout class="ch.qos.logback.classic.PatternLayout"&gt;
          &lt;Pattern class="org."&gt;
              %d{yyyy-MM-dd HH:mm:ss} [%thread] %-5level %logger{36} - %msg%n
          &lt;/Pattern&gt;
      &lt;/layout&gt;
  &lt;/appender&gt;
  </code></pre>