commit c881d7908ff68d25a334232ed7b62b9166c883d6 from: Oliver Lowe date: Thu Mar 07 07:15:24 2024 UTC cmd/apmail: let reverse proxy do its own logging This was debug logging from a while ago. commit - 77918b0001800b96e0bb0aa9dee91d870ab70fca commit + c881d7908ff68d25a334232ed7b62b9166c883d6 blob - c335af672b2292bd6c79f985901bca48406cfbb9 blob + cedaad68fcfdef5bcdc282b661ea997dccea064e --- cmd/apmail/listen.go +++ cmd/apmail/listen.go @@ -192,7 +192,6 @@ func newClient(keyPath string, actorPath string) (*apu func serveActorFile(name string) http.HandlerFunc { return func(w http.ResponseWriter, req *http.Request) { - log.Printf("%s checked %s", req.Header.Get("X-Forwarded-For"), name) w.Header().Set("Content-Type", apub.ContentType) http.ServeFile(w, req, name) }