![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Log4j
SailingAptech
努力成就梦想,梦想成就未来。
展开
-
关于log4j中log4j.properties和log4j.xml的加载顺序
经过查看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...2008-12-26 10:32:51 · 439 阅读 · 0 评论 -
Log4j配置
[code="java"]log4j.rootLogger=debug, stdoutlog4j.appender.stdout=org.apache.log4j.ConsoleAppenderlog4j.appender.stdout.layout=org.apache.log4j.PatternLayoutlog4j.appender.stdout.layout.Con...原创 2012-03-26 13:46:29 · 118 阅读 · 0 评论