How to enable debug in slf4j Logger?

后端 未结 9 593
醉酒成梦
醉酒成梦 2020-12-24 05:21

How to globally enable debug for all the slf4j.Logger objects?

9条回答
  •  有刺的猬
    2020-12-24 05:44

    Just add the following to the application.properties

    logging.level.org.springframework.web=DEBUG
    logging.level.org.springframework.context=DEBUG
    

提交回复
热议问题