From 2eb5b9d3c0e31bf7f91874e80e0e1b10886ec176 Mon Sep 17 00:00:00 2001 From: Ted Unangst Date: Wed, 15 Mar 2023 15:43:57 -0400 Subject: [PATCH] these logs are annoying --- web.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/web.go b/web.go index 7f5f30f..134dcdc 100644 --- a/web.go +++ b/web.go @@ -381,8 +381,6 @@ func inbox(w http.ResponseWriter, r *http.Request) { ilog.Printf("inbox message failed signature for %s from %s: %s", keyname, r.Header.Get("X-Forwarded-For"), err) if keyname != "" { ilog.Printf("bad signature from %s", keyname) - ilog.Writer().Write(payload) - ilog.Writer().Write([]byte{'\n'}) } http.Error(w, "what did you call me?", http.StatusTeapot) return @@ -487,8 +485,6 @@ func serverinbox(w http.ResponseWriter, r *http.Request) { ilog.Printf("inbox message failed signature for %s from %s: %s", keyname, r.Header.Get("X-Forwarded-For"), err) if keyname != "" { ilog.Printf("bad signature from %s", keyname) - ilog.Writer().Write(payload) - ilog.Writer().Write([]byte{'\n'}) } http.Error(w, "what did you call me?", http.StatusTeapot) return