This is an automated email from the ASF dual-hosted git repository.
alexstocks pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/dubbo-go.git
The following commit(s) were added to refs/heads/develop by this push:
new ae6a74bbd fix: change ERROR to WARN log level when application
parameter is empty in Tag Router (#3035)
ae6a74bbd is described below
commit ae6a74bbd08637f0dccb6d2aafd1e9536e03085d
Author: CAICAII <[email protected]>
AuthorDate: Mon Sep 22 18:55:26 2025 +0800
fix: change ERROR to WARN log level when application parameter is empty in
Tag Router (#3035)
---
cluster/router/tag/router.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cluster/router/tag/router.go b/cluster/router/tag/router.go
index 1fa95bb16..825dc080e 100644
--- a/cluster/router/tag/router.go
+++ b/cluster/router/tag/router.go
@@ -79,7 +79,7 @@ func (p *PriorityRouter) Notify(invokers []base.Invoker) {
}
application := invokers[0].GetURL().GetParam(constant.ApplicationKey,
"")
if application == "" {
- logger.Error("url application is empty")
+ logger.Warn("url application is empty, tag router will not be
enabled")
return
}
dynamicConfiguration := conf.GetEnvInstance().GetDynamicConfiguration()