diff --git a/platform-gateway/api/support/redirect_support.go b/platform-gateway/api/support/redirect_support.go index 818dc9cc54..cd1c3280f7 100644 --- a/platform-gateway/api/support/redirect_support.go +++ b/platform-gateway/api/support/redirect_support.go @@ -24,6 +24,7 @@ type RequestHandlerFunc func(request *http.Request, c *gin.Context) error type ResponseHandlerFunc func(body *[]byte, c *gin.Context) error func (invoke RedirectInvoke) Do(c *gin.Context) error { + log.Logger.Info(fmt.Sprintf("Redirecting request to downstream system: [Method: %s] [URL: %s] [ContentLength: %d]", c.Request.Method, invoke.TargetUrl, c.Request.ContentLength)) cloneRequest := c.Request.Clone(c.Request.Context()) // deep copy original request