This is an automated email from the ASF dual-hosted git repository. jimin pushed a commit to branch 2.x in repository https://gitbox.apache.org/repos/asf/incubator-seata.git
The following commit(s) were added to refs/heads/2.x by this push: new 70b4fc0f12 optimize: alter the print info in ConfigurationFactory.java when load ExtConfiguration (#7040) 70b4fc0f12 is described below commit 70b4fc0f120bfecae653bf1f56f77cbbd1b58f6a Author: LegGasai <jyc132780...@sina.com> AuthorDate: Mon Dec 2 00:03:20 2024 +0800 optimize: alter the print info in ConfigurationFactory.java when load ExtConfiguration (#7040) --- changes/en-us/2.x.md | 1 + changes/zh-cn/2.x.md | 1 + .../src/main/java/org/apache/seata/config/ConfigurationFactory.java | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/changes/en-us/2.x.md b/changes/en-us/2.x.md index ed7de433ea..1843f4f574 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 9abe2b6929..635241f97d 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 e7ba659bc7..0a11e1ec6f 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 @@ public final class ConfigurationFactory { 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()) { --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@seata.apache.org For additional commands, e-mail: notifications-h...@seata.apache.org