diff --git a/chord/httpnode/server.go b/chord/httpnode/server.go index 443d327..5414bca 100644 --- a/chord/httpnode/server.go +++ b/chord/httpnode/server.go @@ -77,7 +77,7 @@ func (n *Node) Check(ctx context.Context) error { func (n *Node) find(w http.ResponseWriter, r *http.Request) { s := r.PathValue("id") - slog.InfoContext(r.Context(), "received find", slog.String("id", s), slog.String("from", r.RemoteAddr)) + slog.DebugContext(r.Context(), "received find", slog.String("id", s), slog.String("from", r.RemoteAddr)) id, err := chord.ParseID(s) if err != nil { writeError(w, http.StatusBadRequest, err.Error()) @@ -89,7 +89,7 @@ func (n *Node) find(w http.ResponseWriter, r *http.Request) { return } _, addr := p.Values() - slog.InfoContext(r.Context(), "tell found", slog.String("id", s), slog.String("addr", addr.String())) + slog.DebugContext(r.Context(), "tell found", slog.String("id", s), slog.String("addr", addr.String())) writeOk(w, addr) }