How to turn off logging from slf4j

后端 未结 5 536
猫巷女王i
猫巷女王i 2020-12-30 01:36

It\'s a third party application generating huge amounts of logentries on our appserver. Like this:

[03.03.10 15:21:57:250 CET] 00000180 FtpProtocolHa I org.         


        
5条回答
  •  清酒与你
    2020-12-30 01:52

    slf4j is just a funnel to the actual log backend (here overriding jakarta commons logging), which is the one you must configure to get rid of a certain kind of messages. For logback this is the appropriate configuration snippet:

        
        
        ...
            
        ...
        
    

    For log4j it is very similar.

提交回复
热议问题