title: How to create 2 different ROOT loggers with logback?
body: <p>I'm happily using SLF4J with logback and use <strong>2 appenders</strong> for the <strong>ROOT</strong> logger.</p>
  
  <pre><code>&lt;root level="DEBUG"&gt;
      &lt;appender-ref ref="STDOUT" /&gt;
      &lt;appender-ref ref="FILE" /&gt;
  &lt;/root&gt;
  </code></pre>
  
  <p><strong>How could we have different log-levels for both appenders? I still need all ROOT-logger messages.</strong></p>
  
  <ul>
  <li><em>DEBUG</em>-level for STDOUT</li>
  <li><em>INFO</em>-level for FILE</li>
  </ul>
  
  <p>All log's need to be part of the output (so the ROOT logger is needed).</p>