feat: Log weight when issuing challenge (#1611)

This can come in handy when analyzing the logs

Signed-off-by: Timon de Groot <tdegroot96@gmail.com>
This commit is contained in:
Timon de Groot
2026-05-05 18:57:45 +02:00
committed by GitHub
parent 7e037b65e8
commit d3a00da448
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -186,7 +186,7 @@ func (s *Server) issueChallenge(ctx context.Context, r *http.Request, lg *slog.L
return nil, err
}
lg.Info("new challenge issued", "challenge", id.String())
lg.Info("new challenge issued", "challenge", id.String(), "weight", cr.Weight)
return &chall, err
}