Logging with HTTP Response streaming on

Hi All,
When we keep the streaming on at target xml, response object is not being logged.
is that expected behavior of APIGEE, if yes what could be the work around.

<Property name="response.streaming.enabled">true</Property>

 

FYI - I want to log error messages only.

 

@anilsr 

0 4 142
4 REPLIES 4

yes, expected. 

What are you really trying to do?  "Log the response", where?  Why do you need to log the entire response?

I think the workaround is to turn streaming off.  I suppose you have considered that. Why is that not sufficient or satisfactory?  

 

Add some more context, and maybe people here can suggest some possibilities.

Hi , Thanks for the quick response.

we want to log the response in case of Error scenario. but with streaming on im not able to do that. As there is a huge response coming in we really dont want to off the streaming. 

Yes, so I guess you're stuck.  You want to use streaming which avoids the ability to see/modify the response, but you want to log the response.  Those two requirements are in conflict. You'll need to relax one of them.