摘要:
log4j.rootLogger=debug, appenderName1, appenderName2#将日志输出到控制台log4j.appender.appenderName1=org.apache.log4j.ConsoleAppenderlog4j.appender.appenderName1.layout=org.apache.log4j.PatternLayoutlog4j.appender.appenderName1.layout.ConversionPattern=********{%5p} [%t] (%F:%L)******** - %m%n#将日志输出到文件系统log4j 阅读全文
摘要:
<Resource name="oracle/blah" auth="Container" type="javax.sql.DataSource"driverClassName="oracle.jdbc.OracleDriver"url="jdbc:oracle:thin:@localhost:1521:TEST"username="scott" password="scott"maxIdle="5"maxWait="5 阅读全文