Uploading and Viewing Client Logs¶
Configure and enable client logging and upload settings using the SAP Cloud Platform SDK for iOS and SAP Cloud Platform Mobile Services cockpit.
View logs and trace information to troubleshoot app problems. Use search criteria to find the files and trace statements needed to diagnose a problem. Depending on the information that is captured, logs and traces can include entries from client logs, server logs, and application traces.
Configure client log settings and upload policy in the SAP Cloud Platform Mobile Services cockpit:
Log settings for an application are applied to all installed instances of an application on SAP Cloud Platform Mobile Services. See Defining Client Log Policy for details.
The application developer retrieves these settings at runtime to get them onto the device through the
SAPcpmsSettingsstructure, since this does not occur automatically.
The app developer configures logging and upload parameters, and the
For detailed information, see the:
View the client log using SAP Cloud Platform Mobile Services cockpit.
See Viewing Event Logs for details.
The SAP Cloud Platform and client both generate log files. When viewing uploaded client logs in SAP Cloud Platform Mobile Services cockpit, you see all (SAP Cloud Platform and client) logs.
Use filters, such as <Application ID> to narrow your search. Use Type(Client Log) filter to view only the client logs.
You can also follow the tutorials, beginning with Application logging and tracing published on SAP site tutorial to implement, view, and manage application logs.