Log response payload when streaming is enabled?

How to log the response data when streaming is enabled?

0 2 155
2 REPLIES 2

@Ishu

Usually Message Logging policy is used for logging any information from proxy execution.

https://docs.apigee.com/api-platform/reference/policies/message-logging-policy

Not sure if there is any specific logging requirement in your case?

Regards

Jayesh

Not applicable

Below is the tag needs to be configured in message logging policy when stream is enaled.

<BufferMessage>true</BufferMessage>

But, logging response payload is not a good idea. That raises some security/privacy questions.