If a handler wants to log an error, the ideal destination would be wherever its Server.ErrorLog points to. But we can't get to the Server from a handler. Perhaps we can do an optional interface via the ResponseWriter. Maybe this needs to be tied into various Context efforts. Related: my comments on https://go-review.googlesource.com/#/c/14161/2/src/net/http/fs.go /cc @Sajmani @adg @dsymonds @okdave