♻️ 避免各种依赖的地方组件造成 BeanPostProcessorChecker 警告
This commit is contained in:
1 parent
7fbecca54e
commit
4c667d04e1
1 file changed
+3
+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
|
||||
|
||||
Reference in new issue
Block a user