How to disable Spring logging DEBUG messages?

后端 未结 3 726
终归单人心
终归单人心 2020-11-28 09:28

I\'m working on a simple desktop app (not webapp).

Here is my log4j.properties:

log4j.rootCategory=INFO, stdout

log4j.appender.stdout=o         


        
3条回答
  •  渐次进展
    2020-11-28 10:03

    You have to disable commons-logging from the dependency in pom.xml file of the web app.

    Even after removing commons-logging from pom.xml please check the dependency hierarchy available in Eclipse or STS IDE. This will help in knowing if somehow its getting added because of some other dependency which we may not be knowing.

提交回复
热议问题