mirror of
https://github.com/traefik/traefik
synced 2026-02-03 10:00:33 +00:00
Do not SetError on tracing event when whitelist allowed request
This commit is contained in:
@@ -45,7 +45,8 @@ func (wl *IPWhiteLister) handle(w http.ResponseWriter, r *http.Request, next htt
|
||||
return
|
||||
}
|
||||
|
||||
tracing.SetErrorAndDebugLog(r, "request %+v matched white list %v - passing", r, wl.whiteLister)
|
||||
tracing.LogEventf(r, "request %+v matched white list %v - passing", r, wl.whiteLister)
|
||||
log.Debugf("request %+v matched white list %v - passing", r, wl.whiteLister)
|
||||
next.ServeHTTP(w, r)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user