title: Set root logging level in application.yml
body: <p>I used an application.properties with Spring Boot (1.3 M1) and started to translate it into a yaml file because it grew more and more complex.</p>
  
  <p>But I have problems translating this into yaml:</p>
  
  <pre><code>logging.level.*=WARN
  logging.level.com.filenet.wcm=ERROR
  logging.level.de.mycompany=DEBUG
  </code></pre>
  
  <p>The last two lines are easily translated into this:</p>
  
  <pre><code>logging:
      level:
          com.filenet.wcm: ERROR
          de.mycompany: DEBUG
  </code></pre>
  
  <p>But how to add the values for the root logging level ? These two approaches failed:</p>
  
  <p>Failed approach 1:</p>
  
  <pre><code>logging:
      level: WARN
          com.filenet.wcm: ERROR
          de.mycompany: DEBUG    
  </code></pre>
  
  <p>Failed approach 2:</p>
  
  <pre><code>logging:
      level: 
          star: WARN
          com.filenet.wcm: ERROR
          de.mycompany: DEBUG    
  </code></pre>
  
  <p>I read the <a href="http://docs.spring.io/spring-boot/docs/current/reference/html/howto-properties-and-configuration.html">docs</a>, searched stackoverflow and googled but did not find an example for a valid syntax. </p>