diff --git a/ruoyi-auth/src/main/resources/bootstrap.yml b/ruoyi-auth/src/main/resources/bootstrap.yml index 4f55968..74a77c8 100644 --- a/ruoyi-auth/src/main/resources/bootstrap.yml +++ b/ruoyi-auth/src/main/resources/bootstrap.yml @@ -36,4 +36,4 @@ spring: logging: level: com.ruoyi.auth: DEBUG - config: classpath:logback.xml + config: classpath:logback-spring.xml diff --git a/ruoyi-auth/src/main/resources/logback-spring.xml b/ruoyi-auth/src/main/resources/logback-spring.xml new file mode 100644 index 0000000..09d8583 --- /dev/null +++ b/ruoyi-auth/src/main/resources/logback-spring.xml @@ -0,0 +1,63 @@ + + + + + + + + + + + + + + + + + + INFO + + + + ${CONSOLE_LOG_PATTERN} + utf8 + + + + + + 192.168.44.128:5044 + + + + + UTC + + + + { + "severity": "%level", + "service": "${springAppName:-}", + "trace": "%X{X-B3-TraceId:-}", + "span": "%X{X-B3-SpanId:-}", + "exportable": "%X{X-Span-Export:-}", + "pid": "${PID:-}", + "thread": "%thread", + "class": "%logger{40}", + "rest": "%message" + } + + + + + + + + + + + + diff --git a/ruoyi-auth/src/main/resources/logback.xml b/ruoyi-auth/src/main/resources/logback.xml index 8d5b6de..4c01154 100644 --- a/ruoyi-auth/src/main/resources/logback.xml +++ b/ruoyi-auth/src/main/resources/logback.xml @@ -56,35 +56,7 @@ DENY - - - - 192.168.44.128:5044 - - - - - UTC - - - - { - "severity": "%level", - "service": "${springAppName:-}", - "trace": "%X{X-B3-TraceId:-}", - "span": "%X{X-B3-SpanId:-}", - "exportable": "%X{X-Span-Export:-}", - "pid": "${PID:-}", - "thread": "%thread", - "class": "%logger{40}", - "rest": "%message" - } - - - - - + @@ -92,7 +64,6 @@ - diff --git a/ruoyi-modules/ruoyi-system/src/main/resources/bootstrap.yml b/ruoyi-modules/ruoyi-system/src/main/resources/bootstrap.yml index dfb1bdb..831e3ab 100644 --- a/ruoyi-modules/ruoyi-system/src/main/resources/bootstrap.yml +++ b/ruoyi-modules/ruoyi-system/src/main/resources/bootstrap.yml @@ -36,4 +36,4 @@ spring: logging: level: com.ruoyi.system.mapper: DEBUG - config: classpath:logback.xml + config: classpath:logback-spring.xml diff --git a/ruoyi-modules/ruoyi-system/src/main/resources/logback-spring.xml b/ruoyi-modules/ruoyi-system/src/main/resources/logback-spring.xml new file mode 100644 index 0000000..09d8583 --- /dev/null +++ b/ruoyi-modules/ruoyi-system/src/main/resources/logback-spring.xml @@ -0,0 +1,63 @@ + + + + + + + + + + + + + + + + + + INFO + + + + ${CONSOLE_LOG_PATTERN} + utf8 + + + + + + 192.168.44.128:5044 + + + + + UTC + + + + { + "severity": "%level", + "service": "${springAppName:-}", + "trace": "%X{X-B3-TraceId:-}", + "span": "%X{X-B3-SpanId:-}", + "exportable": "%X{X-Span-Export:-}", + "pid": "${PID:-}", + "thread": "%thread", + "class": "%logger{40}", + "rest": "%message" + } + + + + + + + + + + + + diff --git a/ruoyi-modules/ruoyi-system/src/main/resources/logback.xml b/ruoyi-modules/ruoyi-system/src/main/resources/logback.xml index 4e4151c..c16cb09 100644 --- a/ruoyi-modules/ruoyi-system/src/main/resources/logback.xml +++ b/ruoyi-modules/ruoyi-system/src/main/resources/logback.xml @@ -56,35 +56,7 @@ DENY - - - - 192.168.44.128:5044 - - - - - UTC - - - - { - "severity": "%level", - "service": "${springAppName:-}", - "trace": "%X{X-B3-TraceId:-}", - "span": "%X{X-B3-SpanId:-}", - "exportable": "%X{X-Span-Export:-}", - "pid": "${PID:-}", - "thread": "%thread", - "class": "%logger{40}", - "rest": "%message" - } - - - - - + @@ -92,7 +64,6 @@ -