经过查看LogManager.java
// if the user has not specified the log4j.configuration
// property, we search first for the file "log4j.xml" and then
// "log4j.properties"
明确了,当用户没有设置log4j.configuration属性,则首先查找log4j.xml,然后查找log4j.properties。
log4j.properties以后已经不再推荐使用了。
阅读全文>发表于 @ 2008年09月20日 11:28:00|评论(loading...)|收藏