How to disable log4j in 3rd party jar?

前端 未结 3 1591
梦如初夏
梦如初夏 2021-01-01 18:03

I\'m experimenting writing a java SE swing application using JBoss weld. Weld configures logging with log4j using the following log4j.xml file in the jar:

&l         


        
3条回答
  •  甜味超标
    2021-01-01 18:04

    I think the default log configuration for third part jars won`t print any message into STDOUT or FILE.

    But if you want override the default log configuration without document, the best solution is de-compile the jar files and find out how it load the configuration.

提交回复
热议问题