parent
68d516533d
commit
8c4ac3aab2
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,19 @@
|
||||
log4j.rootLogger=INFO,CONSOLE,A
|
||||
log4j.addivity.org.apache=false
|
||||
log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender
|
||||
log4j.appender.CONSOLE.Threshold=INFO
|
||||
log4j.appender.CONSOLE.layout.ConversionPattern=%d{yyyy-MM-dd HH\:mm\:ss} -%-4r [%t] %-5p %x - %m%n
|
||||
log4j.appender.CONSOLE.Target=System.out
|
||||
#log4j.appender.CONSOLE.charset=utf-8
|
||||
log4j.appender.CONSOLE.encoding=utf-8
|
||||
log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout
|
||||
log4j.appender.A=org.apache.log4j.DailyRollingFileAppender
|
||||
log4j.appender.A.File=${catalina.home}/logs/yo_log/PurePro_
|
||||
log4j.appender.A.DatePattern=yyyy-MM-dd'.log'
|
||||
log4j.appender.A.layout=org.apache.log4j.PatternLayout
|
||||
log4j.appender.A.layout.ConversionPattern=[FH_sys] %d{yyyy-MM-dd HH\:mm\:ss} %5p %c{1}\:%L \: %m%n
|
||||
log4j.logger.java.sql.ResultSet=INFO
|
||||
log4j.logger.org.apache=INFO
|
||||
log4j.logger.java.sql.Connection=INFO
|
||||
log4j.logger.java.sql.Statement=INFO
|
||||
log4j.logger.java.sql.PreparedStatement=INFO
|
@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<beans xmlns="http://www.springframework.org/schema/beans"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns:context="http://www.springframework.org/schema/context" xmlns:util="http://www.springframework.org/schema/util"
|
||||
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util.xsd">
|
||||
|
||||
<!-- 引入属性文件 -->
|
||||
<context:property-placeholder location="classpath:config.properties"/>
|
||||
|
||||
<!-- Service包(自动注入) -->
|
||||
<context:component-scan base-package="com.service"/>
|
||||
|
||||
<import resource="classpath:spring/spring-mybatis.xml"/>
|
||||
</beans>
|
Loading…
Reference in new issue