From 850915d9a5dd29a231724aa1c3be992a4f6c5e4a Mon Sep 17 00:00:00 2001
From: 刘小明 <liuxm_a@163.com>
Date: 星期四, 19 九月 2024 16:15:08 +0800
Subject: [PATCH] 处理日志

---
 pms-parent/pms-web-product/pom.xml  |   16 +++----
 pms-parent/pms-web-platform/pom.xml |   16 +++----
 pms-parent/pms-web-base/pom.xml     |   16 +++----
 pms-parent/pms-web-station/pom.xml  |   16 +++----
 pms-parent/pms-common/pom.xml       |    7 +++
 5 files changed, 35 insertions(+), 36 deletions(-)

diff --git a/pms-parent/pms-common/pom.xml b/pms-parent/pms-common/pom.xml
index cacf02c..c125d75 100644
--- a/pms-parent/pms-common/pom.xml
+++ b/pms-parent/pms-common/pom.xml
@@ -21,6 +21,13 @@
             <groupId>org.springframework.boot</groupId>
             <artifactId>spring-boot-starter-web</artifactId>
             <version>${spring.boot.version}</version>
+            <exclusions>
+                <!-- 寮曞叆log4j2鏃ュ織鏃堕渶鍘绘帀榛樿鐨刲ogback -->
+                <exclusion>
+                    <groupId>org.springframework.boot</groupId>
+                    <artifactId>spring-boot-starter-logging</artifactId>
+                </exclusion>
+            </exclusions>
         </dependency>
         <dependency>
             <groupId>org.springframework.boot</groupId>
diff --git a/pms-parent/pms-web-base/pom.xml b/pms-parent/pms-web-base/pom.xml
index 17fd4c7..667dabe 100644
--- a/pms-parent/pms-web-base/pom.xml
+++ b/pms-parent/pms-web-base/pom.xml
@@ -33,6 +33,13 @@
         <dependency>
             <groupId>org.springframework.boot</groupId>
             <artifactId>spring-boot-starter-web</artifactId>
+            <exclusions>
+                <!-- 寮曞叆log4j2鏃ュ織鏃堕渶鍘绘帀榛樿鐨刲ogback -->
+                <exclusion>
+                    <groupId>org.springframework.boot</groupId>
+                    <artifactId>spring-boot-starter-logging</artifactId>
+                </exclusion>
+            </exclusions>
         </dependency>
         <dependency>
             <groupId>org.springframework.boot</groupId>
@@ -49,15 +56,6 @@
         <dependency>
             <groupId>org.springframework.boot</groupId>
             <artifactId>spring-boot-starter-test</artifactId>
-        </dependency>
-        <!--log4j-bom鏄釜pom锛屾病鏈夊叿浣撶殑jar鍖�, springboot闇�瑕佸畠 -->
-        <!-- https://mvnrepository.com/artifact/org.apache.logging.log4j/log4j-bom -->
-        <dependency>
-            <groupId>org.apache.logging.log4j</groupId>
-            <artifactId>log4j-bom</artifactId>
-            <version>${log4j-bom}</version>
-            <!-- 杩欎釜娌℃湁jar鍖咃紝鍙湁pom鏂囦欢锛屾墍浠ヨ鍔犱笂涓嬮潰璁剧疆 -->
-            <type>pom</type>
         </dependency>
         <!-- lombok -->
         <dependency>
diff --git a/pms-parent/pms-web-platform/pom.xml b/pms-parent/pms-web-platform/pom.xml
index 91cc267..5217dd1 100644
--- a/pms-parent/pms-web-platform/pom.xml
+++ b/pms-parent/pms-web-platform/pom.xml
@@ -33,6 +33,13 @@
         <dependency>
             <groupId>org.springframework.boot</groupId>
             <artifactId>spring-boot-starter-web</artifactId>
+            <exclusions>
+                <!-- 寮曞叆log4j2鏃ュ織鏃堕渶鍘绘帀榛樿鐨刲ogback -->
+                <exclusion>
+                    <groupId>org.springframework.boot</groupId>
+                    <artifactId>spring-boot-starter-logging</artifactId>
+                </exclusion>
+            </exclusions>
         </dependency>
         <dependency>
             <groupId>org.springframework.boot</groupId>
@@ -49,15 +56,6 @@
         <dependency>
             <groupId>org.springframework.boot</groupId>
             <artifactId>spring-boot-starter-test</artifactId>
-        </dependency>
-        <!--log4j-bom鏄釜pom锛屾病鏈夊叿浣撶殑jar鍖�, springboot闇�瑕佸畠 -->
-        <!-- https://mvnrepository.com/artifact/org.apache.logging.log4j/log4j-bom -->
-        <dependency>
-            <groupId>org.apache.logging.log4j</groupId>
-            <artifactId>log4j-bom</artifactId>
-            <version>${log4j-bom}</version>
-            <!-- 杩欎釜娌℃湁jar鍖咃紝鍙湁pom鏂囦欢锛屾墍浠ヨ鍔犱笂涓嬮潰璁剧疆 -->
-            <type>pom</type>
         </dependency>
         <!-- lombok -->
         <dependency>
diff --git a/pms-parent/pms-web-product/pom.xml b/pms-parent/pms-web-product/pom.xml
index b9163ee..415bda4 100644
--- a/pms-parent/pms-web-product/pom.xml
+++ b/pms-parent/pms-web-product/pom.xml
@@ -32,6 +32,13 @@
         <dependency>
             <groupId>org.springframework.boot</groupId>
             <artifactId>spring-boot-starter-web</artifactId>
+            <exclusions>
+                <!-- 寮曞叆log4j2鏃ュ織鏃堕渶鍘绘帀榛樿鐨刲ogback -->
+                <exclusion>
+                    <groupId>org.springframework.boot</groupId>
+                    <artifactId>spring-boot-starter-logging</artifactId>
+                </exclusion>
+            </exclusions>
         </dependency>
         <dependency>
             <groupId>org.springframework.boot</groupId>
@@ -48,15 +55,6 @@
         <dependency>
             <groupId>org.springframework.boot</groupId>
             <artifactId>spring-boot-starter-test</artifactId>
-        </dependency>
-        <!--log4j-bom鏄釜pom锛屾病鏈夊叿浣撶殑jar鍖�, springboot闇�瑕佸畠 -->
-        <!-- https://mvnrepository.com/artifact/org.apache.logging.log4j/log4j-bom -->
-        <dependency>
-            <groupId>org.apache.logging.log4j</groupId>
-            <artifactId>log4j-bom</artifactId>
-            <version>${log4j-bom}</version>
-            <!-- 杩欎釜娌℃湁jar鍖咃紝鍙湁pom鏂囦欢锛屾墍浠ヨ鍔犱笂涓嬮潰璁剧疆 -->
-            <type>pom</type>
         </dependency>
         <!-- lombok -->
         <dependency>
diff --git a/pms-parent/pms-web-station/pom.xml b/pms-parent/pms-web-station/pom.xml
index f96d205..e9c84ee 100644
--- a/pms-parent/pms-web-station/pom.xml
+++ b/pms-parent/pms-web-station/pom.xml
@@ -38,6 +38,13 @@
         <dependency>
             <groupId>org.springframework.boot</groupId>
             <artifactId>spring-boot-starter-web</artifactId>
+            <exclusions>
+                <!-- 寮曞叆log4j2鏃ュ織鏃堕渶鍘绘帀榛樿鐨刲ogback -->
+                <exclusion>
+                    <groupId>org.springframework.boot</groupId>
+                    <artifactId>spring-boot-starter-logging</artifactId>
+                </exclusion>
+            </exclusions>
         </dependency>
         <dependency>
             <groupId>org.springframework.boot</groupId>
@@ -54,15 +61,6 @@
         <dependency>
             <groupId>org.springframework.boot</groupId>
             <artifactId>spring-boot-starter-test</artifactId>
-        </dependency>
-        <!--log4j-bom鏄釜pom锛屾病鏈夊叿浣撶殑jar鍖�, springboot闇�瑕佸畠 -->
-        <!-- https://mvnrepository.com/artifact/org.apache.logging.log4j/log4j-bom -->
-        <dependency>
-            <groupId>org.apache.logging.log4j</groupId>
-            <artifactId>log4j-bom</artifactId>
-            <version>${log4j-bom}</version>
-            <!-- 杩欎釜娌℃湁jar鍖咃紝鍙湁pom鏂囦欢锛屾墍浠ヨ鍔犱笂涓嬮潰璁剧疆 -->
-            <type>pom</type>
         </dependency>
         <!-- lombok -->
         <dependency>

--
Gitblit v1.8.0