摘要: 在src下创建一个log4j.properties文件:log4j.rootLogger=DEBUG, Console#Consolelog4j.appender.Console=org.apache.log4j.ConsoleAppenderlog4j.appender.Console.layout=org.apache.log4j.PatternLayoutlog4j.appender.Console.layout.ConversionPattern=%d [%t] %-5p [%c] - %m%nlog4j.logger.java.sql.ResultSet=INFOlog4j.logg 阅读全文
posted @ 2013-01-11 00:44 horizon~~~ 阅读(2427) 评论(0) 推荐(0) 编辑