Testing Logging

The log file is located in SMP_HOME\Server\log\clientlogs\<application_id>\<application_registration_id>\Log.txt.

  1. Run your project with the Android IDE or Xcode.
  2. In Management Cockpit, enable the upload log function.
    Note: For the call to sap.Logger.upload() to succeed, the Log Upload checkbox on the registration ID in the Management Cockpit must be checked.
  3. View the uploaded logs in the Management Cockpit.