title: Spring boot: disable logger
body: <p>This is my <code>application.properties</code> under <code>_/config</code> folder:</p>
  
  <pre><code>logging.file=logging.xml
  </code></pre>
  
  <p>This is the content of <code>_/config</code> folder:</p>
  
  <pre><code>$ tree config  
  config
  ├── application-bo.properties
  ├── application-loc.properties
  ├── application-pre.properties
  ├── application.properties
  ├── application-pro.properties
  └── logging.xml
  </code></pre>
  
  <p>The content of <code>logging.xml</code> is:</p>
  
  <pre><code>&lt;configuration&gt;
      &lt;include resource="org/springframework/boot/logging/logback/base.xml" /&gt;
  
      &lt;!-- LOG "com.baeldung*" at TRACE level --&gt;
      &lt;logger name="net.gencat.transversal.espaidoc.common.dao.RedisDao" level="OFF" additivity="false" /&gt;
  &lt;/configuration&gt;
  </code></pre>
  
  <p>As you can see, I'm trying to disable logs generated inside from <code>net.gencat.transversal.espaidoc.common.dao.RedisDao</code> logger.</p>
  
  <p>However, I'm getting log messages on console yet.</p>
  
  <p>Any ideas?</p>