From fce481688043db764a518938b1e324fecddc2997 Mon Sep 17 00:00:00 2001 From: v-zhangjc9 Date: Fri, 23 May 2025 09:49:37 +0800 Subject: [PATCH] =?UTF-8?q?feat(all):=20=E7=A7=BB=E9=99=A4=E8=BF=9C?= =?UTF-8?q?=E7=A8=8B=E6=97=A5=E5=BF=97=E9=9B=86=E4=B8=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/logback-spring.xml | 18 ------ .../src/main/resources/logback-spring.xml | 18 ------ .../src/main/resources/logback-spring.xml | 18 ------ .../src/main/resources/logback.xml | 39 ------------- .../src/main/resources/logback-spring.xml | 18 ------ .../src/main/resources/logback-spring.xml | 18 ------ .../src/main/resources/logback-spring.xml | 18 ------ .../src/main/resources/logback-spring.xml | 18 ------ .../src/main/resources/logback-spring.xml | 18 ------ .../src/main/resources/logback-spring.xml | 18 ------ .../src/main/resources/logback-spring.xml | 18 ------ .../src/main/resources/logback-spring.xml | 18 ------ .../src/main/resources/logback-spring.xml | 18 ------ .../src/main/resources/logback-spring.xml | 18 ------ .../src/main/resources/logback-spring.xml | 18 ------ .../src/main/resources/logback-spring.xml | 18 ------ .../src/main/resources/logback-spring.xml | 18 ------ .../src/main/resources/logback-spring.xml | 18 ------ utils/sync/src/main/resources/logback.xml | 56 ------------------- 19 files changed, 401 deletions(-) diff --git a/service-api/src/main/resources/logback-spring.xml b/service-api/src/main/resources/logback-spring.xml index f272f36..d686c9c 100644 --- a/service-api/src/main/resources/logback-spring.xml +++ b/service-api/src/main/resources/logback-spring.xml @@ -7,23 +7,6 @@ - - true - - ${LOKI_PUSH_URL:-http://localhost/loki/api/v1/push} - - - - - %d{yyyy-MM-dd HH:mm:ss.SSS} %p [${HOSTNAME}] [%t] %logger #@# %m%n%wEx - - true - - - %d{yyyy-MM-dd HH:mm:ss.SSS} %clr(%5p) %clr([${HOSTNAME}]){yellow} %clr([%t]){magenta} %clr(%logger{40}){cyan} #@# %m%n%wEx @@ -45,7 +28,6 @@ - diff --git a/service-cloud-query/src/main/resources/logback-spring.xml b/service-cloud-query/src/main/resources/logback-spring.xml index f272f36..d686c9c 100644 --- a/service-cloud-query/src/main/resources/logback-spring.xml +++ b/service-cloud-query/src/main/resources/logback-spring.xml @@ -7,23 +7,6 @@ - - true - - ${LOKI_PUSH_URL:-http://localhost/loki/api/v1/push} - - - - - %d{yyyy-MM-dd HH:mm:ss.SSS} %p [${HOSTNAME}] [%t] %logger #@# %m%n%wEx - - true - - - %d{yyyy-MM-dd HH:mm:ss.SSS} %clr(%5p) %clr([${HOSTNAME}]){yellow} %clr([%t]){magenta} %clr(%logger{40}){cyan} #@# %m%n%wEx @@ -45,7 +28,6 @@ - diff --git a/service-executor/service-executor-manager/src/main/resources/logback-spring.xml b/service-executor/service-executor-manager/src/main/resources/logback-spring.xml index 6d106b6..2115d51 100644 --- a/service-executor/service-executor-manager/src/main/resources/logback-spring.xml +++ b/service-executor/service-executor-manager/src/main/resources/logback-spring.xml @@ -7,23 +7,6 @@ - - true - - ${LOKI_PUSH_URL:-http://localhost/loki/api/v1/push} - - - - - %d{yyyy-MM-dd HH:mm:ss.SSS} %p [${HOSTNAME}] [%t] %logger #@# %m%n%wEx - - true - - - %d{yyyy-MM-dd HH:mm:ss.SSS} %clr(%5p) %clr([${HOSTNAME}]){yellow} %clr([%t]){magenta} %clr(%logger{40}){cyan} #@# %m%n%wEx @@ -42,7 +25,6 @@ - diff --git a/service-executor/service-executor-task/src/main/resources/logback.xml b/service-executor/service-executor-task/src/main/resources/logback.xml index def33e9..754585f 100644 --- a/service-executor/service-executor-task/src/main/resources/logback.xml +++ b/service-executor/service-executor-task/src/main/resources/logback.xml @@ -1,43 +1,4 @@ - - - INFO - - ${loki_push_url:- } - - %d{yyyy-MM-dd HH:mm:ss.SSS} [${HOSTNAME}] %-5level ${PID:- } --- [%t] %-40.40logger{39} #@# : %m%n - - - - - - - - - level - - run.log false diff --git a/service-exporter/src/main/resources/logback-spring.xml b/service-exporter/src/main/resources/logback-spring.xml index f272f36..d686c9c 100644 --- a/service-exporter/src/main/resources/logback-spring.xml +++ b/service-exporter/src/main/resources/logback-spring.xml @@ -7,23 +7,6 @@ - - true - - ${LOKI_PUSH_URL:-http://localhost/loki/api/v1/push} - - - - - %d{yyyy-MM-dd HH:mm:ss.SSS} %p [${HOSTNAME}] [%t] %logger #@# %m%n%wEx - - true - - - %d{yyyy-MM-dd HH:mm:ss.SSS} %clr(%5p) %clr([${HOSTNAME}]){yellow} %clr([%t]){magenta} %clr(%logger{40}){cyan} #@# %m%n%wEx @@ -45,7 +28,6 @@ - diff --git a/service-flink-query/src/main/resources/logback-spring.xml b/service-flink-query/src/main/resources/logback-spring.xml index f272f36..d686c9c 100644 --- a/service-flink-query/src/main/resources/logback-spring.xml +++ b/service-flink-query/src/main/resources/logback-spring.xml @@ -7,23 +7,6 @@ - - true - - ${LOKI_PUSH_URL:-http://localhost/loki/api/v1/push} - - - - - %d{yyyy-MM-dd HH:mm:ss.SSS} %p [${HOSTNAME}] [%t] %logger #@# %m%n%wEx - - true - - - %d{yyyy-MM-dd HH:mm:ss.SSS} %clr(%5p) %clr([${HOSTNAME}]){yellow} %clr([%t]){magenta} %clr(%logger{40}){cyan} #@# %m%n%wEx @@ -45,7 +28,6 @@ - diff --git a/service-gateway/src/main/resources/logback-spring.xml b/service-gateway/src/main/resources/logback-spring.xml index 6d106b6..2115d51 100644 --- a/service-gateway/src/main/resources/logback-spring.xml +++ b/service-gateway/src/main/resources/logback-spring.xml @@ -7,23 +7,6 @@ - - true - - ${LOKI_PUSH_URL:-http://localhost/loki/api/v1/push} - - - - - %d{yyyy-MM-dd HH:mm:ss.SSS} %p [${HOSTNAME}] [%t] %logger #@# %m%n%wEx - - true - - - %d{yyyy-MM-dd HH:mm:ss.SSS} %clr(%5p) %clr([${HOSTNAME}]){yellow} %clr([%t]){magenta} %clr(%logger{40}){cyan} #@# %m%n%wEx @@ -42,7 +25,6 @@ - diff --git a/service-hudi-query/src/main/resources/logback-spring.xml b/service-hudi-query/src/main/resources/logback-spring.xml index f272f36..d686c9c 100644 --- a/service-hudi-query/src/main/resources/logback-spring.xml +++ b/service-hudi-query/src/main/resources/logback-spring.xml @@ -7,23 +7,6 @@ - - true - - ${LOKI_PUSH_URL:-http://localhost/loki/api/v1/push} - - - - - %d{yyyy-MM-dd HH:mm:ss.SSS} %p [${HOSTNAME}] [%t] %logger #@# %m%n%wEx - - true - - - %d{yyyy-MM-dd HH:mm:ss.SSS} %clr(%5p) %clr([${HOSTNAME}]){yellow} %clr([%t]){magenta} %clr(%logger{40}){cyan} #@# %m%n%wEx @@ -45,7 +28,6 @@ - diff --git a/service-info-query/src/main/resources/logback-spring.xml b/service-info-query/src/main/resources/logback-spring.xml index f272f36..d686c9c 100644 --- a/service-info-query/src/main/resources/logback-spring.xml +++ b/service-info-query/src/main/resources/logback-spring.xml @@ -7,23 +7,6 @@ - - true - - ${LOKI_PUSH_URL:-http://localhost/loki/api/v1/push} - - - - - %d{yyyy-MM-dd HH:mm:ss.SSS} %p [${HOSTNAME}] [%t] %logger #@# %m%n%wEx - - true - - - %d{yyyy-MM-dd HH:mm:ss.SSS} %clr(%5p) %clr([${HOSTNAME}]){yellow} %clr([%t]){magenta} %clr(%logger{40}){cyan} #@# %m%n%wEx @@ -45,7 +28,6 @@ - diff --git a/service-launcher/src/main/resources/logback-spring.xml b/service-launcher/src/main/resources/logback-spring.xml index 2daf5fa..1ac0661 100644 --- a/service-launcher/src/main/resources/logback-spring.xml +++ b/service-launcher/src/main/resources/logback-spring.xml @@ -8,23 +8,6 @@ - - true - - ${LOKI_PUSH_URL:-http://localhost/loki/api/v1/push} - - - - - %d{yyyy-MM-dd HH:mm:ss.SSS} %p [${HOSTNAME}] [%t] %logger #@# %m%n%wEx - - true - - - %d{yyyy-MM-dd HH:mm:ss.SSS} %clr(%5p) %clr([${HOSTNAME}]){yellow} %clr([%t]){magenta} %clr(%logger{40}){cyan} #@# %m%n%wEx @@ -47,7 +30,6 @@ - diff --git a/service-loki-query/src/main/resources/logback-spring.xml b/service-loki-query/src/main/resources/logback-spring.xml index f272f36..d686c9c 100644 --- a/service-loki-query/src/main/resources/logback-spring.xml +++ b/service-loki-query/src/main/resources/logback-spring.xml @@ -7,23 +7,6 @@ - - true - - ${LOKI_PUSH_URL:-http://localhost/loki/api/v1/push} - - - - - %d{yyyy-MM-dd HH:mm:ss.SSS} %p [${HOSTNAME}] [%t] %logger #@# %m%n%wEx - - true - - - %d{yyyy-MM-dd HH:mm:ss.SSS} %clr(%5p) %clr([${HOSTNAME}]){yellow} %clr([%t]){magenta} %clr(%logger{40}){cyan} #@# %m%n%wEx @@ -45,7 +28,6 @@ - diff --git a/service-monitor/src/main/resources/logback-spring.xml b/service-monitor/src/main/resources/logback-spring.xml index f272f36..d686c9c 100644 --- a/service-monitor/src/main/resources/logback-spring.xml +++ b/service-monitor/src/main/resources/logback-spring.xml @@ -7,23 +7,6 @@ - - true - - ${LOKI_PUSH_URL:-http://localhost/loki/api/v1/push} - - - - - %d{yyyy-MM-dd HH:mm:ss.SSS} %p [${HOSTNAME}] [%t] %logger #@# %m%n%wEx - - true - - - %d{yyyy-MM-dd HH:mm:ss.SSS} %clr(%5p) %clr([${HOSTNAME}]){yellow} %clr([%t]){magenta} %clr(%logger{40}){cyan} #@# %m%n%wEx @@ -45,7 +28,6 @@ - diff --git a/service-pulsar-query/src/main/resources/logback-spring.xml b/service-pulsar-query/src/main/resources/logback-spring.xml index f272f36..d686c9c 100644 --- a/service-pulsar-query/src/main/resources/logback-spring.xml +++ b/service-pulsar-query/src/main/resources/logback-spring.xml @@ -7,23 +7,6 @@ - - true - - ${LOKI_PUSH_URL:-http://localhost/loki/api/v1/push} - - - - - %d{yyyy-MM-dd HH:mm:ss.SSS} %p [${HOSTNAME}] [%t] %logger #@# %m%n%wEx - - true - - - %d{yyyy-MM-dd HH:mm:ss.SSS} %clr(%5p) %clr([${HOSTNAME}]){yellow} %clr([%t]){magenta} %clr(%logger{40}){cyan} #@# %m%n%wEx @@ -45,7 +28,6 @@ - diff --git a/service-queue/src/main/resources/logback-spring.xml b/service-queue/src/main/resources/logback-spring.xml index f272f36..d686c9c 100644 --- a/service-queue/src/main/resources/logback-spring.xml +++ b/service-queue/src/main/resources/logback-spring.xml @@ -7,23 +7,6 @@ - - true - - ${LOKI_PUSH_URL:-http://localhost/loki/api/v1/push} - - - - - %d{yyyy-MM-dd HH:mm:ss.SSS} %p [${HOSTNAME}] [%t] %logger #@# %m%n%wEx - - true - - - %d{yyyy-MM-dd HH:mm:ss.SSS} %clr(%5p) %clr([${HOSTNAME}]){yellow} %clr([%t]){magenta} %clr(%logger{40}){cyan} #@# %m%n%wEx @@ -45,7 +28,6 @@ - diff --git a/service-scheduler/src/main/resources/logback-spring.xml b/service-scheduler/src/main/resources/logback-spring.xml index 17fb54a..d686c9c 100644 --- a/service-scheduler/src/main/resources/logback-spring.xml +++ b/service-scheduler/src/main/resources/logback-spring.xml @@ -7,23 +7,6 @@ - - true - - ${LOKI_PUSH_URL:-http://localhost/loki/api/v1/push} - - - - - %d{yyyy-MM-dd HH:mm:ss.SSS} %p [${HOSTNAME}] [%t] %logger #@# %m%n%wEx - - true - - - %d{yyyy-MM-dd HH:mm:ss.SSS} %clr(%5p) %clr([${HOSTNAME}]){yellow} %clr([%t]){magenta} %clr(%logger{40}){cyan} #@# %m%n%wEx @@ -45,7 +28,6 @@ - diff --git a/service-uploader/src/main/resources/logback-spring.xml b/service-uploader/src/main/resources/logback-spring.xml index f272f36..d686c9c 100644 --- a/service-uploader/src/main/resources/logback-spring.xml +++ b/service-uploader/src/main/resources/logback-spring.xml @@ -7,23 +7,6 @@ - - true - - ${LOKI_PUSH_URL:-http://localhost/loki/api/v1/push} - - - - - %d{yyyy-MM-dd HH:mm:ss.SSS} %p [${HOSTNAME}] [%t] %logger #@# %m%n%wEx - - true - - - %d{yyyy-MM-dd HH:mm:ss.SSS} %clr(%5p) %clr([${HOSTNAME}]){yellow} %clr([%t]){magenta} %clr(%logger{40}){cyan} #@# %m%n%wEx @@ -45,7 +28,6 @@ - diff --git a/service-yarn-query/src/main/resources/logback-spring.xml b/service-yarn-query/src/main/resources/logback-spring.xml index f272f36..d686c9c 100644 --- a/service-yarn-query/src/main/resources/logback-spring.xml +++ b/service-yarn-query/src/main/resources/logback-spring.xml @@ -7,23 +7,6 @@ - - true - - ${LOKI_PUSH_URL:-http://localhost/loki/api/v1/push} - - - - - %d{yyyy-MM-dd HH:mm:ss.SSS} %p [${HOSTNAME}] [%t] %logger #@# %m%n%wEx - - true - - - %d{yyyy-MM-dd HH:mm:ss.SSS} %clr(%5p) %clr([${HOSTNAME}]){yellow} %clr([%t]){magenta} %clr(%logger{40}){cyan} #@# %m%n%wEx @@ -45,7 +28,6 @@ - diff --git a/service-zookeeper-query/src/main/resources/logback-spring.xml b/service-zookeeper-query/src/main/resources/logback-spring.xml index f272f36..d686c9c 100644 --- a/service-zookeeper-query/src/main/resources/logback-spring.xml +++ b/service-zookeeper-query/src/main/resources/logback-spring.xml @@ -7,23 +7,6 @@ - - true - - ${LOKI_PUSH_URL:-http://localhost/loki/api/v1/push} - - - - - %d{yyyy-MM-dd HH:mm:ss.SSS} %p [${HOSTNAME}] [%t] %logger #@# %m%n%wEx - - true - - - %d{yyyy-MM-dd HH:mm:ss.SSS} %clr(%5p) %clr([${HOSTNAME}]){yellow} %clr([%t]){magenta} %clr(%logger{40}){cyan} #@# %m%n%wEx @@ -45,7 +28,6 @@ - diff --git a/utils/sync/src/main/resources/logback.xml b/utils/sync/src/main/resources/logback.xml index 1cd446e..69f6e57 100644 --- a/utils/sync/src/main/resources/logback.xml +++ b/utils/sync/src/main/resources/logback.xml @@ -1,59 +1,4 @@ - - - INFO - - ${loki_push_url:- } - - %d{yyyy-MM-dd HH:mm:ss.SSS} %p [${HOSTNAME}] [%t] %logger #@# %m%n%ex{full} - - - - - - - - - - - - - level - - run.log false @@ -69,7 +14,6 @@ -