Where are Message Processor's stdout / stderr redirected to?

taka-t
Participant II

Hi all,

Now I'm investigating java callout functionalities and just wonder where e.printStackTrace() output goes to.

Anyone knows?

Regards,

0 1 191
1 REPLY 1

Please try referring below articles, in to order get the stack trace, you need to add messageContext.setVariable("some_variable", "variable_value") in your java so that it is visible as context variable in proxy flow. Also this can be included as part of message logging policy so that it is carried over to log files

https://community.apigee.com/articles/5314/debugging-java-callouts.html

https://docs.apigee.com/api-services/reference/java-callout-policy