these logs are annoying
This commit is contained in:
parent
858ce2f291
commit
2eb5b9d3c0
4
web.go
4
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)
|
ilog.Printf("inbox message failed signature for %s from %s: %s", keyname, r.Header.Get("X-Forwarded-For"), err)
|
||||||
if keyname != "" {
|
if keyname != "" {
|
||||||
ilog.Printf("bad signature from %s", 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)
|
http.Error(w, "what did you call me?", http.StatusTeapot)
|
||||||
return
|
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)
|
ilog.Printf("inbox message failed signature for %s from %s: %s", keyname, r.Header.Get("X-Forwarded-For"), err)
|
||||||
if keyname != "" {
|
if keyname != "" {
|
||||||
ilog.Printf("bad signature from %s", 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)
|
http.Error(w, "what did you call me?", http.StatusTeapot)
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in New Issue