summaryrefslogtreecommitdiff
path: root/src/main/resources/logback-spring.xml
diff options
context:
space:
mode:
authorshizhendong <[email protected]>2023-07-25 17:52:38 +0800
committershizhendong <[email protected]>2023-07-25 17:52:38 +0800
commitbff7a87e512850aabedd9299b02c41dcf67c5dbf (patch)
tree68e2713e50af25f685fac7aebc55c5738670f3ae /src/main/resources/logback-spring.xml
parentc6efffee8501bacd0b706b65c13c78fbc594d59c (diff)
perf: logback.xml 开启定期扫描配置 scanPeriod="60 seconds"rel-23.07.01rel-23.04.04
Diffstat (limited to 'src/main/resources/logback-spring.xml')
-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 4e6625f..d5f5f65 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" />