How to disable log4j in 3rd party jar?

前端 未结 3 1590
梦如初夏
梦如初夏 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条回答
  •  旧时难觅i
    2021-01-01 18:03

    If a log4j xml-format configuration file is present, it takes precedence over property files. That is log4j defined behavior. So you can put your configuration in log4j.xml and it should take effect.

提交回复
热议问题