Skip to content

Server Logs

Use event log information to troubleshoot application problems. Use search criteria to find specific log records and statements. Depending on what information is captured, log information can include entries from event logs.

Typically, one event log is captured per business operation. However for SAP Mobile Cards, data is collected throughout an operation, and written along with the general event log message. The multiple messages are associated using the Correlation ID, and provide you with more detailed information to better isolate a problem. One limitation is that the detailed messages are only available in English.

Viewing Event Logs in SAP Business Application Studio

  1. In the command palette, type SAP Business Application Studio:Load Server Log.

  2. A new folder MobileServicesData containing the serverLogSettings.json and serverLogData.json is created.

  3. To view the log data, open the serverLogData.json file.

  4. To view event logs for a specific application, enter values for one or more of the following optional filters in serverLogSettings.json file.

    1. To view event log messages for a specific component, select Features to Log.

      Feature Description
      Mobile Sample OData ESPM Logs system messages that are related to the OData sample service, which can be used during development and testing.
      Mobile Push Notification Logs system messages that are related to native push actions for iOS and Android devices.
      Mobile Connectivity Logs system messages that are related to proxy functionality, which enables mobile applications to access back ends.
      Mobile Offline Access Logs system messages that are related to offline access to data on the mobile device.
      Mobile Client Log Upload Logs messages that are related to uploading client application log files for analysis on the server.
      Mobile Client Usage and User Feedback Logs messages that are related to uploading client usage and user feedback data for analysis on the server.
      Mobile App Update Logs messages that are related to application versioning services.
      Mobile Client Resources Logs messages that are related to resources that can be accessed from mobile applications.
      Mobile Card Kit Logs system messages that are related to SAP Mobile Cards.
      Mobile Settings Exchange Logs system messages that are related to device registration and the general exchange settings between mobile client and server.
      Mobile App Lab Logs system messages that are related to managing internal app versions.
      Mobile Discovery Logs messages that are related to discovery services.
      Mobile Cloud Build Logs messages that are related to cloud build services.
      Mobile Network Trace Logs messages that are related to network trace.
      Mobile Cockpit Logs system messages that are related to SAP Business Technology Platform.
    2. To view event log messages for a specific level, select Severity Levels.

      Severity Level Description
      Debug For debugging purposes, includes extensive and low-level information.
      Info Informational text, used mostly for echoing what has been performed.
      Warn The application can recover from the anomaly and fulfill the task, but requires attention from the developer or operator.
      Error The application can recover from the error, but cannot fulfill the task due to the error.
    3. To limit the results within a time frame, select the Timeframe from the drop-down list.

    4. To view event logs for a specific application, enter the CorrelationID.

    5. To view event logs for a specific application, select the Applications to Log.

    6. In the command palette, type SAP Business Application Studio:Load Server Log to view the filtered log data.


Last update: February 25, 2021