Change ForwardAuth error log level from DEBUG to ERROR
This commit is contained in:
parent
d6b127ba91
commit
c3d428a16e
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue