mirror of
https://github.com/tendermint/tendermint.git
synced 2026-07-20 06:52:30 +00:00
update logger package for new level 'notice'
This commit is contained in:
+2
-1
@@ -147,7 +147,6 @@ func NewNode() *Node {
|
||||
|
||||
// Call Start() after adding the listeners.
|
||||
func (n *Node) Start() {
|
||||
log.Info("Starting Node", "chainID", config.GetString("chain_id"))
|
||||
n.book.Start()
|
||||
n.sw.SetNodeInfo(makeNodeInfo(n.sw, n.privKey))
|
||||
n.sw.SetNodePrivKey(n.privKey)
|
||||
@@ -291,6 +290,8 @@ func RunNode() {
|
||||
n.AddListener(l)
|
||||
n.Start()
|
||||
|
||||
log.Notice("Started node", "nodeInfo", n.sw.NodeInfo())
|
||||
|
||||
// If seedNode is provided by config, dial out.
|
||||
if config.GetString("seeds") != "" {
|
||||
n.DialSeed()
|
||||
|
||||
Reference in New Issue
Block a user