From a5c06954886594c9453d1f2efc7dc2c980f1349b Mon Sep 17 00:00:00 2001 From: litianxiang Date: Wed, 6 May 2026 16:58:47 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A5=E5=BF=97=20=E8=AE=A2=E5=8D=95?= =?UTF-8?q?=E8=A1=A8=E5=AD=97=E6=AE=B5=E6=94=B9=E5=90=8D=20=E8=A7=86?= =?UTF-8?q?=E9=A2=91=E8=BF=94=E5=9B=9E=E6=96=B0=E5=A2=9E=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/application.yml | 2 - src/main/resources/logback-spring.xml | 66 +++++++++++++++++++++++++++ 2 files changed, 66 insertions(+), 2 deletions(-) create mode 100644 src/main/resources/logback-spring.xml diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 6b6c7c2..ff4f039 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -146,5 +146,3 @@ gateway: - /notification/** logging: - level: - com.aida.gateway: debug diff --git a/src/main/resources/logback-spring.xml b/src/main/resources/logback-spring.xml new file mode 100644 index 0000000..eb3296a --- /dev/null +++ b/src/main/resources/logback-spring.xml @@ -0,0 +1,66 @@ + + + + + + + + + + + + + + + + ${log.pattern.console} + + + + + + ${log.path}/${log.file.name}-info.log + + ${log.path}/${log.file.name}-info.%d{yyyy-MM-dd}.log + 60 + + + ${log.pattern.file} + + + ERROR + DENY + ACCEPT + + + + + + ${log.path}/${log.file.name}-error.log + + ${log.path}/${log.file.name}-error.%d{yyyy-MM-dd}.log + 60 + + + ${log.pattern.file} + + + ERROR + ACCEPT + DENY + + + + + + + + + + + + + + + +