diff options
| author | 方顺健 <[email protected]> | 2023-07-17 01:43:33 +0000 |
|---|---|---|
| committer | 方顺健 <[email protected]> | 2023-07-17 01:43:33 +0000 |
| commit | 98871a6dfbefa2efbbeef6ebb8a9b4214160d117 (patch) | |
| tree | 41af1ce835b4bc3a86ced6e1082761cfecad6c6c | |
| parent | 25d77b7856f07ff1a943afea2af4cdfb61e91db5 (diff) | |
perf: 取消spring.log 日志文件打印,取消console日志文件输出rel-23.04.03
| -rw-r--r-- | src/main/resources/logback-spring.xml | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/main/resources/logback-spring.xml b/src/main/resources/logback-spring.xml index e6e75d5..aee4abb 100644 --- a/src/main/resources/logback-spring.xml +++ b/src/main/resources/logback-spring.xml @@ -1,12 +1,10 @@ <?xml version="1.0" encoding="UTF-8"?> <configuration> - <include resource="org/springframework/boot/logging/logback/base.xml" /> + <include resource="org/springframework/boot/logging/logback/defaults.xml" /> <logger name="org.springframework.web" level="info" /> - <logger name="org.springboot.sample" level="info" /> - <logger name="org.apache" level="info" /> + <logger name="org.apache" level="warn" /> <logger name="org.springframework" level="info" /> <logger name="druid.sql" level="info" /> - <logger name="com.springboot" level="debug" /> <property name="log.path" value="./logs/" /> <!-- 输出格式 --> @@ -65,4 +63,4 @@ <appender-ref ref="ERROR_FILE" /> </root> -</configuration>
\ No newline at end of file +</configuration> |
