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

baerwang pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/dubbo-go-pixiu.git


The following commit(s) were added to refs/heads/develop by this push:
     new 4980bb40 fix: unify "dubbo-go-pixiu" (#712)
4980bb40 is described below

commit 4980bb402b5cb990bf29475fa79c221d5fc49de4
Author: Xuetao Li <[email protected]>
AuthorDate: Fri Aug 1 07:03:31 2025 +0800

    fix: unify "dubbo-go-pixiu" (#712)
---
 README.md                                | 2 +-
 README_CN.md                             | 2 +-
 pkg/config/config_load.go                | 2 +-
 pkg/filter/network/dubboproxy/manager.go | 2 +-
 pkg/server/pixiu_start.go                | 4 ++--
 5 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/README.md b/README.md
index 131c4f63..06cb7d39 100644
--- a/README.md
+++ b/README.md
@@ -83,7 +83,7 @@ go run cmd/pixiu/*.go gateway start -c 
/[absolute-path]/dubbo-go-pixiu-samples/h
 When you see logs similar to the following, Pixiu has started successfully and 
is listening on port `8888`:
 
 ```log
-2025-05-19T12:46:00.104+0800   INFO    server/pixiu_start.go:127       
[dubbopixiu go] start by config : &{StaticResources:{Listeners:[0xc0007b7a20] 
Clusters:[0xc0007cc5a0] Adapters:[] ShutdownConfig:0xc00067fb30 
PprofConf:{Enable:false Address:{SocketAddress:{Address:0.0.0.0 Port:8881 
ResolverName: Domains:[] CertsDir:} Name:}}} DynamicResources:<nil> 
Metric:{Enable:false PrometheusPort:0} Node:<nil> Trace:<nil> Wasm:<nil> 
Config:<nil> Nacos:<nil> Log:<nil>}
+2025-05-19T12:46:00.104+0800   INFO    server/pixiu_start.go:127       
[dubbo-go-pixiu] start by config : &{StaticResources:{Listeners:[0xc0007b7a20] 
Clusters:[0xc0007cc5a0] Adapters:[] ShutdownConfig:0xc00067fb30 
PprofConf:{Enable:false Address:{SocketAddress:{Address:0.0.0.0 Port:8881 
ResolverName: Domains:[] CertsDir:} Name:}}} DynamicResources:<nil> 
Metric:{Enable:false PrometheusPort:0} Node:<nil> Trace:<nil> Wasm:<nil> 
Config:<nil> Nacos:<nil> Log:<nil>}
 2025-05-19T12:46:00.104+0800   INFO    healthcheck/healthcheck.go:157  [health 
check] create a health check session for 127.0.0.1:1314
 2025-05-19T12:46:00.105+0800   INFO    tracing/driver.go:76    
[dubbo-go-pixiu] no trace configuration in conf.yaml
 2025-05-19T12:46:00.105+0800   INFO    http/http_listener.go:157       
[dubbo-go-server] httpListener start at : 0.0.0.0:8888
diff --git a/README_CN.md b/README_CN.md
index daac0390..660d2f3d 100644
--- a/README_CN.md
+++ b/README_CN.md
@@ -83,7 +83,7 @@ go run cmd/pixiu/*.go gateway start -c 
/[absolute-path]/dubbo-go-pixiu-samples/h
 当您看到类似以下的日志时,表示 Pixiu 已成功启动并正在监听 `8888` 端口:
 
 ```log
-2025-05-19T12:46:00.104+0800    INFO   server/pixiu_start.go:127  [dubbopixiu 
go] start by config : &{StaticResources:{Listeners:[0xc0007b7a20] 
Clusters:[0xc0007cc5a0] Adapters:[] ShutdownConfig:0xc00067fb30 
PprofConf:{Enable:false Address:{SocketAddress:{Address:0.0.0.0 Port:8881 
ResolverName: Domains:[] CertsDir:} Name:}}} DynamicResources:<nil> 
Metric:{Enable:false PrometheusPort:0} Node:<nil> Trace:<nil> Wasm:<nil> 
Config:<nil> Nacos:<nil> Log:<nil>}
+2025-05-19T12:46:00.104+0800    INFO   server/pixiu_start.go:127  
[dubbo-go-pixiu] start by config : &{StaticResources:{Listeners:[0xc0007b7a20] 
Clusters:[0xc0007cc5a0] Adapters:[] ShutdownConfig:0xc00067fb30 
PprofConf:{Enable:false Address:{SocketAddress:{Address:0.0.0.0 Port:8881 
ResolverName: Domains:[] CertsDir:} Name:}}} DynamicResources:<nil> 
Metric:{Enable:false PrometheusPort:0} Node:<nil> Trace:<nil> Wasm:<nil> 
Config:<nil> Nacos:<nil> Log:<nil>}
 2025-05-19T12:46:00.104+0800    INFO   healthcheck/healthcheck.go:157 [health 
check] create a health check session for 127.0.0.1:1314
 2025-05-19T12:46:00.105+0800    INFO   tracing/driver.go:76   [dubbo-go-pixiu] 
no trace configuration in conf.yaml
 2025-05-19T12:46:00.105+0800    INFO   http/http_listener.go:157  
[dubbo-go-server] httpListener start at : 0.0.0.0:8888
diff --git a/pkg/config/config_load.go b/pkg/config/config_load.go
index c88cab10..87f889a0 100644
--- a/pkg/config/config_load.go
+++ b/pkg/config/config_load.go
@@ -57,7 +57,7 @@ func GetBootstrap() *model.Bootstrap {
 
 // Load config file and parse
 func Load(path string) *model.Bootstrap {
-       logger.Infof("[dubbopixiu go] load path:%s", path)
+       logger.Infof("[dubbo-go-pixiu] load path:%s", path)
        configPath, _ = filepath.Abs(path)
        if configPath != "" && CheckYamlFormat(configPath) {
                RegisterConfigLoadFunc(LoadYAMLConfig)
diff --git a/pkg/filter/network/dubboproxy/manager.go 
b/pkg/filter/network/dubboproxy/manager.go
index 67aa2603..af4c1abd 100644
--- a/pkg/filter/network/dubboproxy/manager.go
+++ b/pkg/filter/network/dubboproxy/manager.go
@@ -177,7 +177,7 @@ func (dcm *DubboProxyConnectionManager) 
handleRpcInvocation(c *dubbo2.RpcContext
        // recover any err when filterChain run
        defer func() {
                if err := recover(); err != nil {
-                       logger.Warnf("[dubbopixiu go] Occur An Unexpected Err: 
%+v", err)
+                       logger.Warnf("[dubbo-go-pixiu] Occur An Unexpected Err: 
%+v", err)
                        c.SetError(errors.Errorf("Occur An Unexpected Err: %v", 
err))
                }
        }()
diff --git a/pkg/server/pixiu_start.go b/pkg/server/pixiu_start.go
index 2ae9fd37..6473f402 100644
--- a/pkg/server/pixiu_start.go
+++ b/pkg/server/pixiu_start.go
@@ -112,7 +112,7 @@ func (s *Server) Start() {
                                return
                        }
                }()
-               logger.Infof("[dubbopixiu go pprof] httpListener start by : 
%s", addr.Address+":"+strconv.Itoa(addr.Port))
+               logger.Infof("[dubbo-go-pixiu pprof] httpListener start by : 
%s", addr.Address+":"+strconv.Itoa(addr.Port))
        }
 }
 
@@ -124,7 +124,7 @@ func NewServer() *Server {
 }
 
 func Start(bs *model.Bootstrap) {
-       logger.Infof("[dubbopixiu go] start by config : %+v", bs)
+       logger.Infof("[dubbo-go-pixiu] start by config : %+v", bs)
        // global variable
        server = NewServer()
        server.initialize(bs)

Reply via email to