SAP Home Learn Build Integrate Model Operate Extend with AI ConnectTutorial navigator Knowledge Graph API Devtoberfest Developer Advocates App Space

Manage my Account SAP Devs YouTube ↗ Learnings ↗ Community ↗ Provide Feedback ↗
Logout
โคข Open full site

Upload Logs from an MDK App

Allow users to upload logs from an MDK app to SAP Mobile Services.

Overview

🎓 intermediate 20 min. Mobile Development Kit ClientIntermediateIosAndroidMobileSAP Business Technology PlatformSAP Mobile ServicesSAP Build CodeSAP BuildSAP Business Application Studio

You will learn

  • โœ”How to enable log upload feature in Mobile Services
  • โœ”How to upload logs from the app
  • โœ”How to examine log details for troubleshooting
Jitendra Kansal J Jitendra Kansal April 1, 2026
Created by October 11, 2022
Contributors

Prerequisites

Steps

Intro

Managing issues with apps rolled out to a large number of users is a challenge and often requires deep insights into running applications to troubleshoot. For that purpose, SAP Mobile Services includes a Logging feature that enables you to gain insights into live apps. Use MDK to gather logs on client devices, to add contextual information and to automatically or manually upload them to mobile services for further inspection. You may clone an existing metadata project from the MDK Tutorial GitHub repository to start with this tutorial.


MDK
MDK

Step 1 Define client log policy in Mobile Services admin UI
โ€”

SAP Mobile Services provides administrators, developers and support staff with extensive logs and traces functionality to troubleshoot application issues. You can control the amount of information that is captured by setting the log level for individual logging components.

In this step, you will enable client log upload policy in SAP Mobile Services Admin UI for a given MDK app.

  1. Login to Mobile Services Admin UI, click myapp.mdk.demo | Client Log Upload.

    MDK
    MDK

  2. Switch to the Configuration tab, check Log Upload option and click Save.

    MDK
    MDK

    Other policy parameters such as Log Level, Delete Uploaded Log After, Maximum Number of Logs and Maximum Log Size are currently not supported by MDK and hence have no effect.

    You can find more details about Client Log Upload feature.

Step 2 Understanding Logging & Tracing in MDK
+
Step 3 Upload Logs from your App to SAP Mobile Services
+
Step 4 Examine uploaded logs in Mobile Services admin UI
+

Resources

Discussion

Share feedback on this tutorial or join the conversation in SAP Community.

Submit detailed feedback Discuss in Community
Steps
Step 1 of 4
1. Define client log policy in Mobile Services admin UI 2. Understanding Logging & Tracing in MDK 3. Upload Logs from your App to SAP Mobile Services 4. Examine uploaded logs in Mobile Services admin UI

Learn more →