How can I exclude the conditions evaluation report from the console of a Spring boot application?

后端 未结 3 2121
时光取名叫无心
时光取名叫无心 2020-12-15 06:42

When I run my Spring boot application, I get the conditions evaluation report in my console logs.

How can I disable or exclude this report from my console logs in Sp

3条回答
  •  执念已碎
    2020-12-15 07:22

    You can do this by changing the log level of org.springframework.boot.autconfigure. For example by adding the following line within application.properties:

    logging.level.org.springframework.boot.autoconfigure=ERROR
    

提交回复
热议问题