From fba3c958f9c5ed346d1b2fb3a34614dce3fc1193 Mon Sep 17 00:00:00 2001 From: haoxr <1490493387@qq.com> Date: Wed, 3 Mar 2021 16:36:25 +0800 Subject: [PATCH] =?UTF-8?q?feat:logback=E9=85=8D=E7=BD=AE=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../common-web/src/main/resources/logback-spring.xml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/youlai-common/common-web/src/main/resources/logback-spring.xml b/youlai-common/common-web/src/main/resources/logback-spring.xml index 0e7bacecd..b712d4fe1 100644 --- a/youlai-common/common-web/src/main/resources/logback-spring.xml +++ b/youlai-common/common-web/src/main/resources/logback-spring.xml @@ -16,9 +16,6 @@ www.juxingtech.cn:4560 - - {"appname":"${APP_NAME}"} - @@ -28,14 +25,15 @@ { - "project": "youlai-mall", + "project": "${APP_NAME}", "level": "%level", "service": "${APP_NAME:-}", "pid": "${PID:-}", "thread": "%thread", "class": "%logger", "message": "%message", - "stack_trace": "%exception{20}" + "stack_trace": "%exception{20}", + "appname": "${APP_NAME}" }