diff options
author | Neil Alexander <neilalexander@users.noreply.github.com> | 2022-10-06 10:07:13 +0100 |
---|---|---|
committer | Neil Alexander <neilalexander@users.noreply.github.com> | 2022-10-06 10:07:13 +0100 |
commit | e53dcb25a9a0258b48fd4f7afddd2c3c54d55b7a (patch) | |
tree | 28ab1f72a88e6c24e2aba0dcef239c2585c526b6 /federationapi | |
parent | 9ba3103f8839243ea8529bf1f563afded3e7b591 (diff) |
Tweak logging for federated room joins
Diffstat (limited to 'federationapi')
-rw-r--r-- | federationapi/internal/perform.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/federationapi/internal/perform.go b/federationapi/internal/perform.go index 84702f4c..4cdd3a5e 100644 --- a/federationapi/internal/perform.go +++ b/federationapi/internal/perform.go @@ -259,7 +259,7 @@ func (r *FederationInternalAPI) performJoinUsingServer( if err != nil { return fmt.Errorf("JoinedHostsFromEvents: failed to get joined hosts: %s", err) } - logrus.WithField("hosts", joinedHosts).WithField("room", roomID).Info("Joined federated room with hosts") + logrus.WithField("room", roomID).Infof("Joined federated room with %d hosts", len(joinedHosts)) if _, err = r.db.UpdateRoom(context.Background(), roomID, joinedHosts, nil, true); err != nil { return fmt.Errorf("UpdatedRoom: failed to update room with joined hosts: %s", err) } |