♻️ 避免各种依赖的地方组件造成 BeanPostProcessorChecker 警告

This commit is contained in:
冷冷 committed 2024-04-22 13:56:54 +08:00
1 parent ec7ba9912a
commit b284f34799
1 file changed
+3
@@ -22,6 +22,9 @@ public class ApplicationLoggerInitializer implements EnvironmentPostProcessor, O
System.setProperty("logging.file.name", String.format("%s/%s/debug.log", logBase, appName));
// 避免 sentinel 1.8.4+ 心跳日志过大
System.setProperty("csp.sentinel.log.level", "OFF");
// 避免各种依赖的地方组件造成 BeanPostProcessorChecker 警告
System.setProperty("logging.level.org.springframework.context.support.PostProcessorRegistrationDelegate",
"ERROR");
}
@Override