diff options
author | Jakob Borg <jakob@nym.se> | 2014-07-02 20:43:16 +0200 |
---|---|---|
committer | Jakob Borg <jakob@nym.se> | 2014-07-02 20:43:43 +0200 |
commit | 53898d2c6065ba33219796ed2928ee2d3b7e75ce (patch) | |
tree | e425cefc85e58e3b78b61916faf7b95f6a202efb | |
parent | 91c4ff6009a08900454aa5dd92767af421ae9e64 (diff) |
Log client version on connect
-rw-r--r-- | model/model.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/model/model.go b/model/model.go index 79245281b5..2536b339a1 100644 --- a/model/model.go +++ b/model/model.go @@ -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. |