Improve log message consistency

This commit is contained in:
Jakob Borg
2013-12-30 15:27:46 -05:00
parent 7948d046d1
commit ec0489a8ea
5 changed files with 13 additions and 11 deletions

View File

@@ -216,7 +216,7 @@ listen:
if nodeID == remoteID {
nc := protocol.NewConnection(remoteID, conn, conn, m)
m.AddNode(nc)
okln("Connected to nodeID", remoteID, "(in)")
infoln("Connected to node", remoteID, "(in)")
continue listen
}
}
@@ -287,7 +287,7 @@ func connect(myID string, addr string, nodeAddrs map[string][]string, m *Model,
nc := protocol.NewConnection(nodeID, conn, conn, m)
m.AddNode(nc)
okln("Connected to node", remoteID, "(out)")
infoln("Connected to node", remoteID, "(out)")
continue nextNode
}
}