Browse Source

升级log4j版本

zhou-hao 3 years ago
parent
commit
3f6445527f
1 changed files with 19 additions and 0 deletions
  1. 19 0
      pom.xml

+ 19 - 0
pom.xml

@@ -30,6 +30,7 @@
         <reactor.excel.version>1.0.1</reactor.excel.version>
         <reactor.ql.version>1.0.13</reactor.ql.version>
         <fastjson.version>1.2.70</fastjson.version>
+        <log4j.version>2.15.0</log4j.version>
     </properties>
 
     <build>
@@ -171,6 +172,24 @@
 
         <dependencies>
 
+            <dependency>
+                <groupId>org.apache.logging.log4j</groupId>
+                <artifactId>log4j-to-slf4j</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-core</artifactId>
+                <version>${log4j.version}</version>
+            </dependency>
+
             <dependency>
                 <groupId>io.netty</groupId>
                 <artifactId>netty-bom</artifactId>