Set root logging level in application.yml

后端 未结 4 1718
旧时难觅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 13:17

    You can even use your classname to configure logging level:

    logging:
      level:
        com.yourorganization.Yourclass: DEBUG
    

提交回复
热议问题