阅读背景:

log4j2多个appenders, config.xml中的多个logger。

来源:互联网 

I am trying to setup a log4j2 xml config and am not getting the results I desire. I want my console to get level info and above, and the rolling file appender (standard) to get level debug and above. I then want to restrict 3 classes in the console appender to only receive warn and above. However, when I add these logger entries my standard appender also stops receiving the info and debug levels for these 3 classes. What should I do to only restrict console and not standard?I am trying to setup a log4j2 xml config and am




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: