mirror of
https://gitee.com/log4j/pig.git
synced 2025-01-03 23:42:22 +08:00
✨ Introducing new features. 关闭 sentinel record 相关日志
This commit is contained in:
parent
e983005a21
commit
b19cfad19b
@ -36,6 +36,9 @@ 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
|
||||
|
Loading…
Reference in New Issue
Block a user