摘要: 示例: 1 log4j.debug=true 2 log4j.rootLogger=DEBUG,stdout,D //所有输出都会用到这里的appedder 3 log4j.logger.com.test.server=DEBUG,E //为特定的的包指定输出 4 //output log to console 5 log4j.appender.stdout=org.apache.log4j.ConsoleAppender 6 log4j.appender.stdout.layout=org.apache.log4j.PatternLayout 7 log4j.... 阅读全文
posted @ 2012-10-29 19:46 lihezx 阅读(174) 评论(0) 推荐(0)