I am calling a web service in my app, and I need to log the exact request that was sent for troubleshooting purposes. I can not change the log levels of an app running in the SAP Cloud (at least as far as I can tell), so that is not an option. I will need to manually log the HTTP request in my microflow. I see that there is a HTTPRequest entity, and I tried accessing it using the HTTP Commons module, but that did not work. When I try “Get request string” right after my web service call, I get an error: “com.mendix.systemwideinterfaces.MendixRuntimeException: java.util.NoSuchElementException: No value present”. Could anyone point me in the right direction for this?
Logging is possible when using the SAP cloud, please see https://docs.mendix.com/developerportal/operate/logs for details on how to implement and configure logging for Kibana.