diff --git a/chord/httpnode/client.go b/chord/httpnode/client.go index 1403a2f..c81062f 100644 --- a/chord/httpnode/client.go +++ b/chord/httpnode/client.go @@ -40,7 +40,7 @@ func (cl *Client) FindSuccessor(ctx context.Context, s chord.Peer, id chord.ID) if err != nil { return chord.Peer{}, err } - slog.InfoContext(ctx, "find", slog.String("url", url.String())) + slog.DebugContext(ctx, "find", slog.String("url", url.String())) resp, err := cl.HTTP.Do(req) if err != nil { return chord.Peer{}, err @@ -49,7 +49,7 @@ func (cl *Client) FindSuccessor(ctx context.Context, s chord.Peer, id chord.ID) if err != nil { return chord.Peer{}, fmt.Errorf("%w (%s)", err, resp.Status) } - slog.InfoContext(ctx, "found", slog.String("peer", p.String())) + slog.DebugContext(ctx, "found", slog.String("peer", p.String())) return chord.Address(p), nil }