Browse Source

fix:开启elk

master
pref_mail@163.com 4 months ago
parent
commit
5db943d80d
  1. 2
      blade-biz-common/src/main/java/org/springblade/common/launch/LauncherServiceImpl.java

2
blade-biz-common/src/main/java/org/springblade/common/launch/LauncherServiceImpl.java

@ -41,7 +41,7 @@ public class LauncherServiceImpl implements LauncherService {
PropsUtil.setProperty(props, "spring.cloud.nacos.config.server-addr", LauncherConstant.nacosAddr(profile));
// 开启elk日志
// PropsUtil.setProperty(props, "blade.log.elk.destination", LauncherConstant.elkAddr(profile));
PropsUtil.setProperty(props, "blade.log.elk.destination", LauncherConstant.elkAddr(profile));
PropsUtil.setProperty(props, "spring.cloud.sentinel.transport.dashboard", LauncherConstant.sentinelAddr(profile));
PropsUtil.setProperty(props, "spring.cloud.nacos.discovery.username","nacos");

Loading…
Cancel
Save