From a5757bed5aeda8551a3e1c7e8e7e765b783cdd0b Mon Sep 17 00:00:00 2001
From: haoxr <1490493387@qq.com>
Date: Wed, 10 Mar 2021 16:26:15 +0800
Subject: [PATCH] =?UTF-8?q?feat:=E6=B7=BB=E5=8A=A0=E6=8E=A7=E5=88=B6?=
=?UTF-8?q?=E5=8F=B0IP=E7=BB=9F=E8=AE=A1=E6=95=B0=E6=8D=AE?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../src/main/resources/logback-spring.xml | 31 +++++++++----------
1 file changed, 15 insertions(+), 16 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 aa2bf37a5..156ff47a0 100644
--- a/youlai-common/common-web/src/main/resources/logback-spring.xml
+++ b/youlai-common/common-web/src/main/resources/logback-spring.xml
@@ -26,20 +26,19 @@
{
- "project": "${APP_NAME}",
- "time": "%date{\"yyyy-MM-dd HH:mm:ss\"}",
- "date": "%X{date}",
- "action":"login",
- "pid": "${PID:-}",
- "thread": "%thread",
- "message": "%message",
- "elapsedTime": "%X{elapsedTime}",
- "description": "%X{description}",
- "clientIP": "%X{clientIP}",
- "url": "%X{url}",
- "method": "%X{method}",
- "username":"%X{username}",
- "accessToken":"%X{accessToken}"
+ "project": "${APP_NAME}",
+ "date": "%X{date}",
+ "action":"login",
+ "pid": "${PID:-}",
+ "thread": "%thread",
+ "message": "%message",
+ "elapsedTime": "%X{elapsedTime}",
+ "username":"%X{username}",
+ "clientIP": "%X{clientIP}",
+ "region":"%X{region}",
+ "token":"%X{token}",
+ "loginTime": "%date{\"yyyy-MM-dd HH:mm:ss\"}",
+ "description":"%X{description}"
}
@@ -54,7 +53,7 @@
-
-
+
+