diff --git a/proxy/handler/request_handler.go b/proxy/handler/request_handler.go index 1d9c048f..9929c9d0 100644 --- a/proxy/handler/request_handler.go +++ b/proxy/handler/request_handler.go @@ -83,6 +83,7 @@ func setupLogger(disableXFFLogging, disableSourceIPLogging bool, request *http.R zap.String("Path", request.URL.Path), zap.Object("X-Forwarded-For", request.Header["X-Forwarded-For"]), zap.Object("X-Forwarded-Proto", request.Header["X-Forwarded-Proto"]), + zap.Object("X-Vcap-Request-Id", request.Header["X-Vcap-Request-Id"]), } // Specific indexes below is to preserve the schema in the log line if disableSourceIPLogging {