Skip to content

Commit 8f7edfd

Browse files
authored
修复gateway日志 (#523)
1 parent 4acc6d1 commit 8f7edfd

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

backend/api-gateway/pom.xml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,17 +37,33 @@
3737
<artifactId>spring-ai-starter-mcp-server-webmvc</artifactId>
3838
<groupId>org.springframework.ai</groupId>
3939
</exclusion>
40+
<exclusion>
41+
<groupId>org.springframework.boot</groupId>
42+
<artifactId>spring-boot-starter-logging</artifactId>
43+
</exclusion>
4044
</exclusions>
4145
</dependency>
4246
<dependency>
4347
<groupId>org.springframework.cloud</groupId>
4448
<artifactId>spring-cloud-starter-gateway</artifactId>
49+
<exclusions>
50+
<exclusion>
51+
<groupId>org.springframework.boot</groupId>
52+
<artifactId>spring-boot-starter-logging</artifactId>
53+
</exclusion>
54+
</exclusions>
4555
</dependency>
4656

4757
<!-- 响应式安全 -->
4858
<dependency>
4959
<groupId>org.springframework.boot</groupId>
5060
<artifactId>spring-boot-starter-security</artifactId>
61+
<exclusions>
62+
<exclusion>
63+
<groupId>org.springframework.boot</groupId>
64+
<artifactId>spring-boot-starter-logging</artifactId>
65+
</exclusion>
66+
</exclusions>
5167
</dependency>
5268
<!-- Log4j2 API -->
5369
<dependency>
@@ -66,6 +82,10 @@
6682
<groupId>org.springframework.boot</groupId>
6783
<artifactId>spring-boot-starter-web</artifactId>
6884
</exclusion>
85+
<exclusion>
86+
<groupId>org.springframework.boot</groupId>
87+
<artifactId>spring-boot-starter-logging</artifactId>
88+
</exclusion>
6989
</exclusions>
7090
</dependency>
7191
<dependency>
@@ -108,6 +128,12 @@
108128
<groupId>org.springframework.boot</groupId>
109129
<artifactId>spring-boot-starter-test</artifactId>
110130
<scope>test</scope>
131+
<exclusions>
132+
<exclusion>
133+
<groupId>org.springframework.boot</groupId>
134+
<artifactId>spring-boot-starter-logging</artifactId>
135+
</exclusion>
136+
</exclusions>
111137
</dependency>
112138
<dependency>
113139
<groupId>org.mockito</groupId>

0 commit comments

Comments
 (0)