Log client version on connect

This commit is contained in:
Jakob Borg 2014-07-02 20:43:16 +02:00
parent 91c4ff6009
commit 53898d2c60
1 changed files with 2 additions and 0 deletions

View File

@ -372,6 +372,8 @@ func (m *Model) ClusterConfig(nodeID string, config protocol.ClusterConfigMessag
m.nodeVer[nodeID] = config.ClientName + " " + config.ClientVersion
}
m.pmut.Unlock()
l.Infof(`Node %s client is "%s %s"`, nodeID, config.ClientName, config.ClientVersion)
}
// Close removes the peer from the model and closes the underlying connection if possible.