mirror of
https://github.com/traefik/traefik.git
synced 2025-12-05 17:41:36 +01:00
Change ForwardAuth error log level from DEBUG to ERROR
This commit is contained in:
parent
d6b127ba91
commit
c3d428a16e
@ -195,7 +195,7 @@ func (fa *forwardAuth) ServeHTTP(rw http.ResponseWriter, req *http.Request) {
|
||||
|
||||
forwardResponse, forwardErr := fa.client.Do(forwardReq)
|
||||
if forwardErr != nil {
|
||||
logger.Debug().Err(forwardErr).Msgf("Error calling %s", fa.address)
|
||||
logger.Error().Err(forwardErr).Msgf("Error calling %s", fa.address)
|
||||
observability.SetStatusErrorf(req.Context(), "Error calling %s. Cause: %s", fa.address, forwardErr)
|
||||
|
||||
statusCode := http.StatusInternalServerError
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user