From 3571892fcdb4f578c9ddee972707e7cf1997c957 Mon Sep 17 00:00:00 2001 From: Neil Alexander Date: Thu, 27 Oct 2022 13:34:52 +0100 Subject: [PATCH] More logging --- keyserver/internal/internal.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/keyserver/internal/internal.go b/keyserver/internal/internal.go index a62d36967..6dffc4092 100644 --- a/keyserver/internal/internal.go +++ b/keyserver/internal/internal.go @@ -136,8 +136,12 @@ func (a *KeyInternalAPI) claimRemoteKeys( util.GetLogger(ctx).WithField("num_servers", len(domainToDeviceKeys)).Info("Claiming remote keys from servers") wg.Add(len(domainToDeviceKeys)) + util.GetLogger(ctx).Infof("Domain to device keys: %+v", domainToDeviceKeys) + for d, k := range domainToDeviceKeys { go func(domain string, keysToClaim map[string]map[string]string) { + util.GetLogger(ctx).Infof("Keys to claim from %s: %+v", domain, keysToClaim) + fedCtx, cancel := context.WithTimeout(ctx, timeout) defer cancel() defer wg.Done()