Browse Source

无JIRA:修复打包

fbp/feature
Anner 2 months ago
parent
commit
ff661bd4e6
  1. 2
      designer-realize/src/main/java/com/fanruan/boot/env/DesignEnvComponent.java

2
designer-realize/src/main/java/com/fanruan/boot/env/DesignEnvComponent.java vendored

@ -250,7 +250,7 @@ public class DesignEnvComponent {
// 获取本地的日志级别配置 // 获取本地的日志级别配置
Level localLogPreferLevel = Log4jConfig.getInstance().getRootLevel(); Level localLogPreferLevel = Log4jConfig.getInstance().getRootLevel();
// 刷新到本地配置 // 刷新到本地配置
Log4jConfigFactory.getInstance().setRootLevel(localLogPreferLevel); Log4jConfigFactory.getInstance().updateConfigLoggerLevel(localLogPreferLevel.name());
URI uri = Log4jUtils.buildUserConfigURI(StringUtils.EMPTY); URI uri = Log4jUtils.buildUserConfigURI(StringUtils.EMPTY);
FRLogger.getLogger().config(uri); FRLogger.getLogger().config(uri);
// 刷新到carina的配置,防止 portal service 启动的时候覆盖了 // 刷新到carina的配置,防止 portal service 启动的时候覆盖了

Loading…
Cancel
Save