From 4f390c0cea0e3d03770e8d360b4995f19c985494 Mon Sep 17 00:00:00 2001 From: lchong Date: Tue, 31 Aug 2021 15:02:29 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=8E=A7=E5=88=B6=E5=8F=B0?= =?UTF-8?q?=E7=9A=84=E6=97=A5=E5=BF=97=E6=A0=BC=E5=BC=8F=EF=BC=8C=E7=94=A8?= =?UTF-8?q?=E9=A2=9C=E8=89=B2=E5=8C=BA=E5=88=86=EF=BC=8C=E6=9B=B4=E4=BE=BF?= =?UTF-8?q?=E4=BA=8E=E8=A7=82=E5=AF=9F=E9=97=AE=E9=A2=98=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- blog-admin/src/main/resources/logback-spring.xml | 4 +++- blog-web/src/main/resources/logback-spring.xml | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/blog-admin/src/main/resources/logback-spring.xml b/blog-admin/src/main/resources/logback-spring.xml index 2fc10256..bad5c4e1 100644 --- a/blog-admin/src/main/resources/logback-spring.xml +++ b/blog-admin/src/main/resources/logback-spring.xml @@ -7,7 +7,9 @@ - %d{yyyy-MM-dd HH:mm:ss} [%class:%line] %-5level - %msg%n + + %yellow(%date{yyyy-MM-dd HH:mm:ss}) [%highlight(%-5level)] [%magenta(%thread)] %green(%c.%M\(%F:%L\)) %n%msg%n%n + diff --git a/blog-web/src/main/resources/logback-spring.xml b/blog-web/src/main/resources/logback-spring.xml index 738f6d6e..2a1a3f94 100644 --- a/blog-web/src/main/resources/logback-spring.xml +++ b/blog-web/src/main/resources/logback-spring.xml @@ -7,7 +7,9 @@ - %d{yyyy-MM-dd HH:mm:ss} [%class:%line] %-5level - %msg%n + + %yellow(%date{yyyy-MM-dd HH:mm:ss}) [%highlight(%-5level)] [%magenta(%thread)] %green(%c.%M\(%F:%L\)) %n%msg%n%n +