原文链接:https://blog.csdn.net/liupeifeng3514/article/details/79625013 1.配置根logger log4j.rootLogger = debug,stdout,D,E log4j.rootLogger = [ level ] , appenderName1, appenderName2, … log4j.additivity.org.apache=false:表示Logger不会在父Logger的appender里输出,默认为true…