title: Suppressing logging in spring batch with spring boot
body: <p>I am following the Spring batch with Spring boot tutorial here:</p>
  
  <pre><code>https://spring.io/guides/gs/batch-processing/
  </code></pre>
  
  <p>I have the following in POM</p>
  
  <pre><code>    &lt;dependency&gt;
          &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
          &lt;artifactId&gt;spring-boot-starter-batch&lt;/artifactId&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.hsqldb&lt;/groupId&gt;
          &lt;artifactId&gt;hsqldb&lt;/artifactId&gt;
      &lt;/dependency&gt;
  </code></pre>
  
  <p>And the parent as:</p>
  
  <pre><code>&lt;parent&gt;
      &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
      &lt;artifactId&gt;spring-boot-starter-parent&lt;/artifactId&gt;
      &lt;version&gt;1.5.3.RELEASE&lt;/version&gt;
  &lt;/parent&gt;
  </code></pre>
  
  <p>I am getting <code>DEBUG</code> logs in my console automatically.</p>
  
  <p>How do I suppress it? No matter what I put in my <code>application.properties</code>, its not going away. </p>
  
  <p>Its really frustrating. </p>
  
  <p>Lines I tried in <code>application.properties</code>:</p>
  
  <pre><code>logging.level.org.springframework.batch: ERROR  
  logging.level.org.hibernate: ERROR
  </code></pre>
  
  <p>and</p>
  
  <pre><code>logging.level.org.springframework.web: ERROR  
  logging.level.org.hibernate: ERROR  
  </code></pre>
  
  <p>Tried by replacing : with = -- got same result</p>
  
  <p>This also doesn't work.</p>
  
  <pre><code>logging.level.=ERROR
  </code></pre>