title: Disable custom logger print in console (Log4j2)
body: <p>Can we dsable log print for some customm creating Logger?</p>
  <p>I have two loggers:</p>
  <ol>
  <li><p><strong>Root</strong> logger</p>
  </li>
  <li><p>Metrics Logger (which prints into <strong>file</strong>)</p>
  </li>
  </ol>
  <pre class="lang-xml prettyprint-override"><code>&lt;Configuration status=&quot;WARN&quot;&gt;
  
      &lt;Appenders&gt;
          &lt;File name=&quot;file&quot; fileName=&quot;app.log&quot;&gt;
              &lt;PatternLayout&gt;
                  &lt;Pattern&gt;%d %p %c{1.} [%t] %m %ex%n&lt;/Pattern&gt;
              &lt;/PatternLayout&gt;
          &lt;/File&gt;
          
          &lt;Console name=&quot;STDOUT&quot; target=&quot;SYSTEM_OUT&quot;&gt;
              &lt;PatternLayout pattern=&quot;%d{yyyy-mm-dd HH:mm:ss.SSS} [%t] %-5level %logger{36} - %msg%n&quot;/&gt;
          &lt;/Console&gt;
  
  
      &lt;/Appenders&gt;
  
      &lt;Loggers&gt;
  
          &lt;logger name=&quot;metrics&quot; level=&quot;info&quot; additivity=&quot;true&quot;&gt;
              &lt;AppenderRef ref=&quot;file&quot;/&gt;
          &lt;/logger&gt;      
  
          &lt;root level=&quot;info&quot;&gt;
              &lt;AppenderRef ref=&quot;STDOUT&quot;/&gt;
          &lt;/root&gt;
  
      &lt;/Loggers&gt;
  
  
  &lt;/Configuration&gt;
  </code></pre>
  <p>I want to disable print messages in console for <strong>File logger</strong></p>