You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by ju...@apache.org on 2021/11/26 12:57:54 UTC

[dubbo-go] branch feat-adasvc updated: fix(config): fix unexpectedly panic

This is an automated email from the ASF dual-hosted git repository.

justxuewei pushed a commit to branch feat-adasvc
in repository https://gitbox.apache.org/repos/asf/dubbo-go.git


The following commit(s) were added to refs/heads/feat-adasvc by this push:
     new 73b4f70  fix(config): fix unexpectedly panic
73b4f70 is described below

commit 73b4f703d4143a8d3ec46dae1f51560f74c4e07a
Author: XavierNiu <a...@nxw.name>
AuthorDate: Fri Nov 26 18:38:41 2021 +0800

    fix(config): fix unexpectedly panic
---
 config/provider_config.go | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/config/provider_config.go b/config/provider_config.go
index 3e09a17..bd7cb71 100644
--- a/config/provider_config.go
+++ b/config/provider_config.go
@@ -117,8 +117,8 @@ func (c *ProviderConfig) Init(rc *RootConfig) error {
 	}
 	// enable adaptive service verbose
 	if c.AdaptiveServiceVerbose {
-		logger.Infof("adaptive service verbose is enabled, the current logging level is %s.",
-			c.rootConfig.Logger.ZapConfig.Level)
+		logger.Infof("adaptive service verbose is enabled.")
+		logger.Debugf("debug-level info could be shown.")
 		aslimiter.Verbose = true
 	}
 	return nil