Skip to content

Commit

Permalink
improve logging
Browse files Browse the repository at this point in the history
  • Loading branch information
birdayz committed May 4, 2019
1 parent baf8396 commit f4627b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/grafana-proxy/main.go
Expand Up @@ -209,7 +209,7 @@ func main() {

func handler(p *httputil.ReverseProxy) func(http.ResponseWriter, *http.Request) {
return func(w http.ResponseWriter, r *http.Request) {
log.Info("Request", zap.String("URL", r.URL.String()))
log.Info("Request", zap.String("URL", r.URL.RequestURI()))
cookie, err := r.Cookie("token")
if err != nil {
w.WriteHeader(http.StatusUnauthorized)
Expand Down

0 comments on commit f4627b0

Please sign in to comment.