|
22 | 22 | <java.version>1.8</java.version>
|
23 | 23 | <spring.version>2.2.1.RELEASE</spring.version>
|
24 | 24 | <junit.version>4.12</junit.version>
|
| 25 | + <log4j.version>2.12.1</log4j.version> |
| 26 | + <slf4j.version>1.7.25</slf4j.version> |
25 | 27 | </properties>
|
26 | 28 |
|
27 | 29 | <dependencies>
|
|
31 | 33 | <artifactId>spring-boot-starter-test</artifactId>
|
32 | 34 | <scope>test</scope>
|
33 | 35 | <version>${spring.version}</version>
|
| 36 | + <exclusions> |
| 37 | + <exclusion> |
| 38 | + <groupId>org.springframework.boot</groupId> |
| 39 | + <artifactId>spring-boot-starter-logging</artifactId> |
| 40 | + </exclusion> |
| 41 | + </exclusions> |
34 | 42 | </dependency>
|
35 | 43 | <dependency>
|
36 | 44 | <groupId>org.springframework.cloud</groupId>
|
|
44 | 52 | <version>${junit.version}</version>
|
45 | 53 | <scope>test</scope>
|
46 | 54 | </dependency>
|
| 55 | + <!-- 日志打印 --> |
| 56 | + <dependency> |
| 57 | + <groupId>org.slf4j</groupId> |
| 58 | + <artifactId>slf4j-api</artifactId> |
| 59 | + <version>${slf4j.version}</version> |
| 60 | + </dependency> |
| 61 | + <dependency> |
| 62 | + <groupId>org.apache.logging.log4j</groupId> |
| 63 | + <artifactId>log4j-slf4j-impl</artifactId> |
| 64 | + <version>${log4j.version}</version> |
| 65 | + </dependency> |
| 66 | + <dependency> |
| 67 | + <groupId>org.apache.logging.log4j</groupId> |
| 68 | + <artifactId>log4j-api</artifactId> |
| 69 | + <version>${log4j.version}</version> |
| 70 | + </dependency> |
| 71 | + <dependency> |
| 72 | + <groupId>org.apache.logging.log4j</groupId> |
| 73 | + <artifactId>log4j-core</artifactId> |
| 74 | + <version>${log4j.version}</version> |
| 75 | + </dependency> |
| 76 | + <dependency> |
| 77 | + <groupId>com.lmax</groupId> |
| 78 | + <artifactId>disruptor</artifactId> |
| 79 | + <version>3.4.2</version> |
| 80 | + </dependency> |
47 | 81 | </dependencies>
|
48 | 82 |
|
49 | 83 | <build>
|
|
0 commit comments