diff --git a/changes/en-us/2.x.md b/changes/en-us/2.x.md index ed7de433ea0..1843f4f5746 100644 --- a/changes/en-us/2.x.md +++ b/changes/en-us/2.x.md @@ -55,6 +55,7 @@ Add changes here for all PR submitted to the 2.x branch. - [[#7023](https://github.com/apache/incubator-seata/pull/7023)] optimize fail fast, when all server not available - [[#7027](https://github.com/apache/incubator-seata/pull/7027)] raft mode maintains the reload logic consistent with the file - [[#6891](https://github.com/apache/incubator-seata/pull/6891)] add StateType Enum +- [[#7040](https://github.com/apache/incubator-seata/pull/7040)] optimize the print info in ConfigurationFactory ### refactor: - [[#7017](https://github.com/apache/incubator-seata/pull/7017)] remove dependency on seata-server module diff --git a/changes/zh-cn/2.x.md b/changes/zh-cn/2.x.md index 9abe2b6929b..635241f97db 100644 --- a/changes/zh-cn/2.x.md +++ b/changes/zh-cn/2.x.md @@ -58,6 +58,7 @@ - [[#7023](https://github.com/apache/incubator-seata/pull/7023)] 优化快速失败 - [[#7027](https://github.com/apache/incubator-seata/pull/7027)] raft模式下reload行为与file保持一致 - [[#6891](https://github.com/apache/incubator-seata/pull/6891)] 增加 StateType 类型 +- [[#7040](https://github.com/apache/incubator-seata/pull/7040)] 优化ConfigurationFactory加载的打印信息 ### refactor: - [[#7017](https://github.com/apache/incubator-seata/pull/7017)] 移除 seata-server 模块的依赖 diff --git a/config/seata-config-core/src/main/java/org/apache/seata/config/ConfigurationFactory.java b/config/seata-config-core/src/main/java/org/apache/seata/config/ConfigurationFactory.java index e7ba659bc7b..0a11e1ec6f1 100644 --- a/config/seata-config-core/src/main/java/org/apache/seata/config/ConfigurationFactory.java +++ b/config/seata-config-core/src/main/java/org/apache/seata/config/ConfigurationFactory.java @@ -71,7 +71,7 @@ private static void load() { extConfiguration = EnhancedServiceLoader.load(ExtConfigurationProvider.class).provide(configuration); if (LOGGER.isInfoEnabled()) { LOGGER.info("load Configuration from :{}", - extConfiguration == null ? configuration.getClass().getSimpleName() : "Spring Configuration"); + extConfiguration == null ? configuration.getClass().getSimpleName() : extConfiguration.getClass().getSimpleName()); } } catch (EnhancedServiceNotFoundException e) { if (LOGGER.isDebugEnabled()) {