✨ Introducing new features. 关闭 sentinel record 相关日志

This commit is contained in:
lbw committed 2023-08-02 12:29:48 +08:00
1 parent 71749e7234
commit 812ed9d57a
1 file changed
+2
@@ -20,6 +20,8 @@ public class ApplicationLoggerInitializer implements EnvironmentPostProcessor, O
// spring boot admin 直接加载日志
System.setProperty("logging.file.name", String.format("%s/%s/debug.log", logBase, appName));
// 避免 sentinel 1.8.4+ 心跳日志过大
System.setProperty("csp.sentinel.log.level", "OFF");
}
@Override