Set root logging level in application.yml

后端 未结 4 1701
旧时难觅i
旧时难觅i 2021-01-30 12:51

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.

But I have problems transl

4条回答
  •  后悔当初
    2021-01-30 12:54

    If you want level by package, you can use this syntax :

    logging:
      level:
         org.springframework.web: DEBUG
         guru.springframework.controllers: DEBUG
         org.hibernate: DEBUG
         org: INFO
    

提交回复
热议问题