update logger package for new level 'notice'

This commit is contained in:
Ethan Buchman
2015-07-19 21:15:45 +00:00
parent 95765db7eb
commit e087284a4f
7 changed files with 26 additions and 6 deletions

View File

@ -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()