Remove logging

This commit is contained in:
Neil Alexander 2021-07-30 11:27:56 +01:00
parent 2c83c2d101
commit 85342a1d4f
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944
2 changed files with 0 additions and 7 deletions

View file

@ -9,7 +9,6 @@ import (
"github.com/matrix-org/dendrite/keyserver/api"
"github.com/matrix-org/gomatrixserverlib"
"github.com/matrix-org/util"
"github.com/sirupsen/logrus"
)
@ -304,6 +303,4 @@ func (a *KeyInternalAPI) crossSigningKeysFromDatabase(
}
}
}
util.GetLogger(ctx).Infof("Found cross-signing keys: master %+v, self-signing %+v, user-signing %+v", res.MasterKeys, res.SelfSigningKeys, res.UserSigningKeys)
}

View file

@ -316,9 +316,6 @@ func (a *KeyInternalAPI) QueryKeys(ctx context.Context, req *api.QueryKeysReques
}
}
util.GetLogger(ctx).Infof("Domain to cross-signing keys: %+v", domainToCrossSigningKeys)
util.GetLogger(ctx).Infof("Domain to device keys: %+v", domainToDeviceKeys)
// perform key queries for remote devices
a.queryRemoteKeys(ctx, req.Timeout, res, domainToDeviceKeys)
}
@ -448,7 +445,6 @@ func (a *KeyInternalAPI) queryRemoteKeysOnServer(
}
}
queryKeysResp, err := a.FedClient.QueryKeys(fedCtx, gomatrixserverlib.ServerName(serverName), devKeys)
util.GetLogger(fedCtx).Infof("Query keys response: %+v", queryKeysResp)
if err == nil {
resultCh <- &queryKeysResp
return