summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorshizhendong <[email protected]>2023-07-25 17:55:11 +0800
committershizhendong <[email protected]>2023-07-25 17:55:11 +0800
commite534617d114fcee094fef743de190667a29f3e58 (patch)
tree5f269b0a342b160fc08a738b839126f6234262ee
parentd580406562bade3b5a8198a9c0f8711e5cc07cc8 (diff)
perf: logback.xml 开启定期扫描配置 scanPeriod="60 seconds"
-rw-r--r--tools/logback-spring.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/logback-spring.xml b/tools/logback-spring.xml
index 2a74e12..68fa1c4 100644
--- a/tools/logback-spring.xml
+++ b/tools/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.springboot.sample" level="warn" />