diff --git a/proxy/proxy.go b/proxy/proxy.go index a600eeffd..27d5ae617 100644 --- a/proxy/proxy.go +++ b/proxy/proxy.go @@ -331,7 +331,7 @@ func (p *Proxy) ServeHTTP(w http.ResponseWriter, r *http.Request) { // Routes can be filtered by the `source`, `prefix`, `path` and `regex` fields in the policy config. func routeMatcherFuncFromPolicy(policy config.Policy) mux.MatcherFunc { if !(policy.Source.Path == "" || policy.Source.Path == "/") { - log.Warn().Str("source", policy.Source.String()).Msg("proxy: dropping path from %v, should be set using path key") + log.Warn().Str("from", policy.From).Msgf("proxy: dropping path from %s, should be set using path key", policy.Source.String()) } // match by source