summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorshizhendong <[email protected]>2023-07-25 17:50:21 +0800
committershizhendong <[email protected]>2023-07-25 17:50:21 +0800
commit18386e5aa37b5b38144ff9307aabc6dd01d9d105 (patch)
tree0960c8b05c44f9f7ff34617eb93df90915422603
parent98871a6dfbefa2efbbeef6ebb8a9b4214160d117 (diff)
perf: logback.xml 开启定期扫描配置 scanPeriod="60 seconds"rel-23.04.04
-rw-r--r--src/main/resources/logback-spring.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/resources/logback-spring.xml b/src/main/resources/logback-spring.xml
index aee4abb..490e453 100644
--- a/src/main/resources/logback-spring.xml
+++ b/src/main/resources/logback-spring.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<configuration>
+<configuration scan="true" scanPeriod="60 seconds">
<include resource="org/springframework/boot/logging/logback/defaults.xml" />
<logger name="org.springframework.web" level="info" />
<logger name="org.apache" level="warn" />