From 71a289801c89314cfdf3e83e7835d46737fdf811 Mon Sep 17 00:00:00 2001 From: lihongjie0209 Date: Mon, 16 Oct 2023 19:41:11 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E6=97=A5=E5=BF=97=E7=B3=BB?= =?UTF-8?q?=E7=BB=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/application.yaml | 1 + src/main/resources/logback-spring.xml | 16 ++++++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 src/main/resources/logback-spring.xml diff --git a/src/main/resources/application.yaml b/src/main/resources/application.yaml index f7ebefda..0a7c098a 100644 --- a/src/main/resources/application.yaml +++ b/src/main/resources/application.yaml @@ -98,6 +98,7 @@ logging: max-file-size: 100MB clean-history-on-start: true max-history: 7 + config: classpath:logback-spring.xml springdoc: swagger-ui: enabled: false diff --git a/src/main/resources/logback-spring.xml b/src/main/resources/logback-spring.xml new file mode 100644 index 00000000..c712df0c --- /dev/null +++ b/src/main/resources/logback-spring.xml @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + \ No newline at end of file