diff --git a/docs/docs/CHANGELOG.md b/docs/docs/CHANGELOG.md index c0c810b2..2175ad86 100644 --- a/docs/docs/CHANGELOG.md +++ b/docs/docs/CHANGELOG.md @@ -26,6 +26,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Enable [HTTP basic auth](./admin/policies.mdx#http-basic-authentication) for the metrics server. - Fix a bug in the dataset poisoning maze that could allow denial of service [#1580](https://github.com/TecharoHQ/anubis/issues/1580). - Add config option to add ASN to logs/metrics. +- Log weight when issuing challenge ## v1.25.0: Necron diff --git a/lib/anubis.go b/lib/anubis.go index ddcb577e..ac3481ab 100644 --- a/lib/anubis.go +++ b/lib/anubis.go @@ -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 }