Merge pull request #352 from kevinburke/fix-404

api: fix 404 error logging
pull/357/head
Jimmy Zelinskie 7 years ago committed by GitHub
commit 76a6b24fd7

@ -52,7 +52,7 @@ func (rtr router) ServeHTTP(w http.ResponseWriter, r *http.Request) {
return
}
log.Infof("%s %d %s %s", http.StatusNotFound, r.Method, r.RequestURI, r.RemoteAddr)
log.Infof("%d %s %s %s", http.StatusNotFound, r.Method, r.RequestURI, r.RemoteAddr)
http.NotFound(w, r)
}

Loading…
Cancel
Save