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 · 454 阅读 · 0 评论 -
Log4j配置
[code="java"] log4j.rootLogger=debug, stdout log4j.appender.stdout=org.apache.log4j.ConsoleAppender log4j.appender.stdout.layout=org.apache.log4j.PatternLayout log4j.appender.stdout.layout.Con...原创 2012-03-26 13:46:29 · 142 阅读 · 0 评论