From d52f6673bcf9943e42fe8c2f592c6a90ecc04b73 Mon Sep 17 00:00:00 2001 From: RuoYi Date: Tue, 13 Oct 2020 17:36:00 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E6=97=A5=E5=BF=97=E8=B7=AF?= =?UTF-8?q?=E5=BE=84=E5=88=B0=E6=A8=A1=E5=9D=97=E7=9B=AE=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-auth/src/main/resources/logback.xml | 74 ++++++++++++++++++++++ ruoyi-gateway/src/main/resources/logback.xml | 74 ++++++++++++++++++++++ .../ruoyi-gen/src/main/resources/logback.xml | 2 +- .../ruoyi-job/src/main/resources/logback.xml | 2 +- .../ruoyi-system/src/main/resources/logback.xml | 2 +- .../ruoyi-monitor/src/main/resources/logback.xml | 74 ++++++++++++++++++++++ 6 files changed, 225 insertions(+), 3 deletions(-) create mode 100644 ruoyi-auth/src/main/resources/logback.xml create mode 100644 ruoyi-gateway/src/main/resources/logback.xml create mode 100644 ruoyi-visual/ruoyi-monitor/src/main/resources/logback.xml diff --git a/ruoyi-auth/src/main/resources/logback.xml b/ruoyi-auth/src/main/resources/logback.xml new file mode 100644 index 0000000..b27adc5 --- /dev/null +++ b/ruoyi-auth/src/main/resources/logback.xml @@ -0,0 +1,74 @@ + + + + + + :ss} %-5level ${springAppName:-} %thread %logger %msg%n"/> + + + + + ${log.pattern} + + + + + + ${log.path}/info.log + + + + ${log.path}/info.%d{yyyy-MM-dd}.log + + 60 + + + ${log.pattern} + + + + INFO + + ACCEPT + + DENY + + + + + ${log.path}/error.log + + + + ${log.path}/error.%d{yyyy-MM-dd}.log + + 60 + + + ${log.pattern} + + + + ERROR + + ACCEPT + + DENY + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/ruoyi-gateway/src/main/resources/logback.xml b/ruoyi-gateway/src/main/resources/logback.xml new file mode 100644 index 0000000..e644524 --- /dev/null +++ b/ruoyi-gateway/src/main/resources/logback.xml @@ -0,0 +1,74 @@ + + + + + + :ss} %-5level ${springAppName:-} %thread %logger %msg%n"/> + + + + + ${log.pattern} + + + + + + ${log.path}/info.log + + + + ${log.path}/info.%d{yyyy-MM-dd}.log + + 60 + + + ${log.pattern} + + + + INFO + + ACCEPT + + DENY + + + + + ${log.path}/error.log + + + + ${log.path}/error.%d{yyyy-MM-dd}.log + + 60 + + + ${log.pattern} + + + + ERROR + + ACCEPT + + DENY + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/ruoyi-modules/ruoyi-gen/src/main/resources/logback.xml b/ruoyi-modules/ruoyi-gen/src/main/resources/logback.xml index bd4abac..098dca6 100644 --- a/ruoyi-modules/ruoyi-gen/src/main/resources/logback.xml +++ b/ruoyi-modules/ruoyi-gen/src/main/resources/logback.xml @@ -1,7 +1,7 @@ - + :ss} %-5level ${springAppName:-} %thread %logger %msg%n"/> diff --git a/ruoyi-modules/ruoyi-job/src/main/resources/logback.xml b/ruoyi-modules/ruoyi-job/src/main/resources/logback.xml index 74a6364..94a5963 100644 --- a/ruoyi-modules/ruoyi-job/src/main/resources/logback.xml +++ b/ruoyi-modules/ruoyi-job/src/main/resources/logback.xml @@ -1,7 +1,7 @@ - + :ss} %-5level ${springAppName:-} %thread %logger %msg%n"/> diff --git a/ruoyi-modules/ruoyi-system/src/main/resources/logback.xml b/ruoyi-modules/ruoyi-system/src/main/resources/logback.xml index ebd3680..9c065a5 100644 --- a/ruoyi-modules/ruoyi-system/src/main/resources/logback.xml +++ b/ruoyi-modules/ruoyi-system/src/main/resources/logback.xml @@ -1,7 +1,7 @@ - + :ss} %-5level ${springAppName:-} %thread %logger %msg%n"/> diff --git a/ruoyi-visual/ruoyi-monitor/src/main/resources/logback.xml b/ruoyi-visual/ruoyi-monitor/src/main/resources/logback.xml new file mode 100644 index 0000000..a287cda --- /dev/null +++ b/ruoyi-visual/ruoyi-monitor/src/main/resources/logback.xml @@ -0,0 +1,74 @@ + + + + + + :ss} %-5level ${springAppName:-} %thread %logger %msg%n"/> + + + + + ${log.pattern} + + + + + + ${log.path}/info.log + + + + ${log.path}/info.%d{yyyy-MM-dd}.log + + 60 + + + ${log.pattern} + + + + INFO + + ACCEPT + + DENY + + + + + ${log.path}/error.log + + + + ${log.path}/error.%d{yyyy-MM-dd}.log + + 60 + + + ${log.pattern} + + + + ERROR + + ACCEPT + + DENY + + + + + + + + + + + + + + + + + + \ No newline at end of file