Commit a73a1061 by chenweitao

修复日志漏洞

parent a21ea4f5
...@@ -11,6 +11,8 @@ ...@@ -11,6 +11,8 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<spring.version>4.2.2.RELEASE</spring.version> <spring.version>4.2.2.RELEASE</spring.version>
<log4j.version>2.15.0</log4j.version>
</properties> </properties>
<developers> <developers>
...@@ -46,6 +48,21 @@ ...@@ -46,6 +48,21 @@
<artifactId>crawler-core</artifactId> <artifactId>crawler-core</artifactId>
<version>0.6.7.4-SNAPSHOT</version> <version>0.6.7.4-SNAPSHOT</version>
</dependency> </dependency>
<!-- 日志依赖 -->
<!-- https://mvnrepository.com/artifact/org.apache.logging.log4j/log4j-core -->
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-core</artifactId>
<version>${log4j.version}</version>
</dependency>
<!-- https://mvnrepository.com/artifact/org.apache.logging.log4j/log4j-1.2-api -->
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-1.2-api</artifactId>
<version>${log4j.version}</version>
</dependency>
<dependency> <dependency>
<groupId>org.projectlombok</groupId> <groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId> <artifactId>lombok</artifactId>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment