From 6e7304fa2882bc47889acc69ff88f4ff6edad358 Mon Sep 17 00:00:00 2001 From: wangxianzhang Date: Tue, 28 Jun 2022 10:24:51 +0800 Subject: [PATCH] =?UTF-8?q?auth=E5=BF=98=E4=BA=86=E5=8A=A0rocketmq=20log?= =?UTF-8?q?=20appender=E7=9A=84ref=E4=BA=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/logback-spring.xml | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/epmet-auth/src/main/resources/logback-spring.xml b/epmet-auth/src/main/resources/logback-spring.xml index 3f35cc07c2..3ddc774384 100644 --- a/epmet-auth/src/main/resources/logback-spring.xml +++ b/epmet-auth/src/main/resources/logback-spring.xml @@ -139,12 +139,36 @@ + + + + ${log.path}/rocketmqclient.log + + + %d{yyyy-MM-dd HH:mm:ss.SSS} [%contextName] [%X{Transaction-Serial}] %-5level %logger{50} - %msg%n + UTF-8 + + + + ${log.path}/rocketmqclient-%d{yyyy-MM-dd}.%i.log + + 100MB + + + 15 + + + + + + + @@ -158,6 +182,10 @@ + + + +