title: How to only log ERRORs in spring boot
body: <p>I only want to log errors in my spring boot application. This is what I have in my <code>application.properties</code> file:</p>
  
  <pre><code>logging.level.com.test.login=ERROR
  </code></pre>
  
  <p>However, that seems to only catch errors in <strong>my</strong> application. Is there a way to set it globally for everything, so I only see errors printed to my console, and nothing else? Now it prints tons of INFO statement:</p>
  
  <p><a href="https://i.stack.imgur.com/S06Fz.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/S06Fz.png" alt="enter image description here"></a></p>