|
|
@@ -61,7 +61,7 @@
|
|
|
|
|
|
<apache.common.lang3.version>3.4</apache.common.lang3.version>
|
|
|
<mybatis.version>3.4.1</mybatis.version>
|
|
|
- <log4j.version>1.2.17</log4j.version>
|
|
|
+ <log4j.version>2.11.0</log4j.version>
|
|
|
<tomcat.servlet.version>6.0.37</tomcat.servlet.version>
|
|
|
<druid.version>1.1.10</druid.version>
|
|
|
<mybatis-spring.version>1.3.1</mybatis-spring.version>
|
|
|
@@ -220,6 +220,34 @@
|
|
|
<!-- <version>1.2.17</version>-->
|
|
|
<!-- </dependency>-->
|
|
|
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.apache.logging.log4j</groupId>
|
|
|
+ <artifactId>log4j-core</artifactId>
|
|
|
+ <version>${log4j.version}</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.apache.logging.log4j</groupId>
|
|
|
+ <artifactId>log4j-api</artifactId>
|
|
|
+ <version>${log4j.version}</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.apache.logging.log4j</groupId>
|
|
|
+ <artifactId>log4j-web</artifactId>
|
|
|
+ <version>${log4j.version}</version>
|
|
|
+ </dependency>
|
|
|
+ <!-- 桥接:告诉Slf4j使用Log4j2 -->
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.apache.logging.log4j</groupId>
|
|
|
+ <artifactId>log4j-slf4j-impl</artifactId>
|
|
|
+ <version>${log4j.version}</version>
|
|
|
+ </dependency>
|
|
|
+ <!-- 桥接:告诉commons logging使用Log4j2 -->
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.apache.logging.log4j</groupId>
|
|
|
+ <artifactId>log4j-jcl</artifactId>
|
|
|
+ <version>${log4j.version}</version>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
<!-- https://mvnrepository.com/artifact/com.mchange/c3p0 -->
|
|
|
<dependency>
|
|
|
<groupId>com.mchange</groupId>
|