From a47ee86bee3f5ec70e78284959cc6736b44d4aed Mon Sep 17 00:00:00 2001 From: Jakob Borg Date: Tue, 5 Aug 2014 20:26:05 +0200 Subject: [PATCH] Don't show 100 warnings for unknown repo at connect when once is enough --- model/model.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/model/model.go b/model/model.go index a1e38194..f1e2cb11 100644 --- a/model/model.go +++ b/model/model.go @@ -371,7 +371,7 @@ func (m *Model) IndexUpdate(nodeID protocol.NodeID, repo string, fs []protocol.F } if !m.repoSharedWith(repo, nodeID) { - l.Warnf("Unexpected repository ID %q sent from node %q; ensure that the repository exists and that this node is selected under \"Share With\" in the repository configuration.", repo, nodeID) + l.Infof("Update for unexpected repository ID %q sent from node %q; ensure that the repository exists and that this node is selected under \"Share With\" in the repository configuration.", repo, nodeID) return }