This is an automated email from the ASF dual-hosted git repository.
liujun pushed a commit to branch 3.1
in repository https://gitbox.apache.org/repos/asf/dubbo.git
The following commit(s) were added to refs/heads/3.1 by this push:
new 2ad527e6e9 Optimize the log messages created by ReferenceConfig
(#10576)
2ad527e6e9 is described below
commit 2ad527e6e96256a9c0d53ba8a953f7d9e649cf03
Author: huazhongming <[email protected]>
AuthorDate: Fri Sep 9 11:20:32 2022 +0800
Optimize the log messages created by ReferenceConfig (#10576)
fixes #10575
---
.../dubbo/config/spring/reference/ReferenceCreator.java | 12 +++---------
1 file changed, 3 insertions(+), 9 deletions(-)
diff --git
a/dubbo-config/dubbo-config-spring/src/main/java/org/apache/dubbo/config/spring/reference/ReferenceCreator.java
b/dubbo-config/dubbo-config-spring/src/main/java/org/apache/dubbo/config/spring/reference/ReferenceCreator.java
index bbab458beb..68ebdbacc3 100644
---
a/dubbo-config/dubbo-config-spring/src/main/java/org/apache/dubbo/config/spring/reference/ReferenceCreator.java
+++
b/dubbo-config/dubbo-config-spring/src/main/java/org/apache/dubbo/config/spring/reference/ReferenceCreator.java
@@ -95,7 +95,9 @@ public class ReferenceCreator {
configureBean(configBean);
if (logger.isInfoEnabled()) {
- logger.info("The configBean[type:" +
configBean.getClass().getSimpleName() + "] has been built.");
+ logger.info("The configBean[type:" +
+ configBean.getClass().getSimpleName() + "<" +
defaultInterfaceClass.getTypeName() + ">" +
+ "] has been built.");
}
return configBean;
@@ -122,14 +124,6 @@ public class ReferenceCreator {
}
}
-// private void configureApplicationConfig(ReferenceConfig configBean) {
-// String applicationConfigId = getAttribute(attributes, "application");
-// if (StringUtils.hasText(applicationConfigId)) {
-// ApplicationConfig applicationConfig =
getConfig(applicationConfigId, ApplicationConfig.class);
-// configBean.setApplication(applicationConfig);
-// }
-// }
-
private void configureModuleConfig(ReferenceConfig configBean) {
String moduleConfigId = getAttribute(attributes, "module");
if (StringUtils.hasText(moduleConfigId)) {