How to change SpringMVC logging level?

前端 未结 3 517
不知归路
不知归路 2021-01-26 09:43

I created a new project (SpringMVC) using IntelliJ and I don\'t know how to change logging level of SpringMVC, so I could only see warnings/errors.

3条回答
  •  再見小時候
    2021-01-26 10:15

    If you are using log4j in your log4j.properties:

    log4j.logger.org.springframework=WARN
    

    or log4j.xml:

    
        
    
    

提交回复
热议问题