these logs are annoying
Ted Unangst tedu@tedunangst.com
Wed, 15 Mar 2023 15:43:57 -0400
1 files changed,
0 insertions(+),
4 deletions(-)
jump to
M
web.go
→
web.go
@@ -381,8 +381,6 @@ if err != nil {
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 @@ if err != nil {
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