SAP CAP: Enable Remote-Service Debug Logging in Cloud Foundry

When SAP Support requests detailed remote-service traces, set the CAP application’s log environment variables in the correct Cloud Foundry organization and space.

Set the requested levels

Use the cf CLI, or a configured Business Application Studio terminal, for the intended application:

cf set-env <application> SAP_CLOUD_SDK_LOG_LEVEL silly
cf set-env <application> DEBUG remote
cf restage <application>

Restaging affects application availability. Reproduce the problem and collect the latest application logs afterward. The DEBUG value is a component logger ID; remote is the one used in this procedure. Restore the prior logging configuration when the trace collection is complete.

Reference

SAP KBA 3600486

You May Also Like

Leave a Reply?