aboutsummaryrefslogtreecommitdiffstats
path: root/node
diff options
context:
space:
mode:
Diffstat (limited to 'node')
-rw-r--r--node/config.go2
-rw-r--r--node/node.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/node/config.go b/node/config.go
index 608c9a6b4..b060b05f2 100644
--- a/node/config.go
+++ b/node/config.go
@@ -266,7 +266,7 @@ func (c *Config) NodeName() string {
if c.Version != "" {
name += "/v" + c.Version
}
- name += "/" + runtime.GOOS
+ name += "/" + runtime.GOOS + "-" + runtime.GOARCH
name += "/" + runtime.Version()
return name
}
diff --git a/node/node.go b/node/node.go
index c7e28af37..afb676b7f 100644
--- a/node/node.go
+++ b/node/node.go
@@ -173,7 +173,7 @@ func (n *Node) Start() error {
MaxPendingPeers: n.config.MaxPendingPeers,
}
running := &p2p.Server{Config: n.serverConfig}
- log.Info(fmt.Sprint("instance:", n.serverConfig.Name))
+ log.Info("Starting peer-to-peer node", "instance", n.serverConfig.Name)
// Otherwise copy and specialize the P2P configuration
services := make(map[reflect.Type]Service)