Change ForwardAuth error log level from DEBUG to ERROR

This commit is contained in:
Murat Aslan
2025-12-04 17:08:06 +03:00
committed by GitHub
parent d6b127ba91
commit c3d428a16e
+1 -1
View File
@@ -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