API Connect Analytics Logging

By default, only the received request and the transmitted response gets logged for API's build in API Connect. But in case we need to log intermediate messages we need to pass below HTTP header in request to log the debug messages.

Apim-Debug:true

But we cannot ask the external systems to sent this header in request, which is not involved in the functionality. How can we implement this debug logging? StackOverflow Link