mirror of
https://github.com/TecharoHQ/anubis.git
synced 2026-05-06 23:32:43 +00:00
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:
+1
-1
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user