# How to send log files to Mobile Device Manager Plus Support? ## Description While working with Mobile Device Manager Plus, you might encounter issues which can be resolved quickly and in better ways by the MDM Support team, if provided with the logs. The logs can be sent to the MDM Support as explained below: ## MDM Server logs MDM server logs is available in **\MDMServer\logs.** #### Steps to send the server logs to the Support - Navigate to the **Support** tab in Mobile Device Manager server. - Select **Create Support file**. - Enter the following details: - E-mail address - Message - Select the logs you want to upload: - Server logs **(Applicable only for MDM On-Premises)** - Agent logs - Click **Send** to send the Support file. The log file(s) are sent to MDM Support successfully. ## Managed Android device logs - [Uploading logs automatically from managed Android devices to Mobile Device Manager Plus Support](#uploading-logs-automatically-from-managed-android-devices-to-mobile-device-manager-plus-support) - [Uploading logs manually from managed Android devices to Mobile Device Manager Plus Support](#uploading-logs-manually-from-managed-android-devices-to-mobile-device-manager-plus-support) - [Uploading Android device logs from MDM Server (Applicable for MDM On-Premises)](#uploading-android-device-logs-from-mdm-server) ### Uploading logs automatically from managed Android devices to Mobile Device Manager Plus Support Logs can be sent directly from the MDM app (**applicable for MDM On-Premises**). Open the MDM app and click on **Privacy Policy** tab. ![](https://www.manageengine.com/mobile-device-management/images/android_mdm_logs_upload_6.png) Disable log privacy. ![](https://www.manageengine.com/mobile-device-management/images/android_mdm_logs_upload_7.png) Reproduce the issue. Now open **Support** tab. ![](https://www.manageengine.com/mobile-device-management/images/android_mdm_logs_upload_1.png) To **send the device logs to MDM Support via e-mail**, select the corresponding option. ![](https://www.manageengine.com/mobile-device-management/images/android_mdm_logs_upload_2.png) Provide the **Issue type**, **Admin e-mail**, **Problem description,** and optionally provide the **Ticket ID**. Select the checkbox before clicking on **Send**. ![](https://www.manageengine.com/mobile-device-management/images/android_mdm_logs_upload_3.png) Specify the mail app using which you want to send the logs to MDM Support. ![](https://www.manageengine.com/mobile-device-management/images/android_mdm_logs_upload_4.png) **Device logs** are then directly sent to MDM Support. Once the logs has been shared, enable log privacy by navigating to **Privacy Policy** tab. **To send the device logs to the MDM server directly**, select the option **Send logs to server** and follow the on-screen instructions. Select the checkbox before clicking on **Send**. You can collect the logs by navigating to **Directory/ManageEngine/DesktopCentral_Server/mdm-logs/1/** ![](https://www.manageengine.com/mobile-device-management/images/android_mdm_logs_upload_5.png) **Device logs** are then sent to the MDM server. ### Uploading logs manually from managed Android devices to Mobile Device Manager Plus Support You can also upload the logs of Android devices managed by MDM. You can find the steps to archive the logs and the steps involved in sending it to the Mobile Device Manager Plus Support. - Open the MDM app on the device. - Navigate to **Android -> data -> com.manageengine.mdm.android -> files -> agent** - You can then send the **logs** as a zip file to MDM Support. ### Uploading Android device logs from MDM Server - Navigate to the **Support** tab in the MDM server. - Under **Contact support**, click **Create Ticket**, then select **Without Screen Recording** (or **With Screen Recording**, if applicable). - On the **Create Support File** page, specify the following details: - **Your Email ID** – the e-mail address to be associated with the support file. - **Ticket ID** – (optional) the ticket reference, if you already have one. - **Message** – a description of the problem that needs to be sent along with the logs. - **Mobile Device Name** – select the device(s) whose logs are to be sent. Only devices that are online can be fetched. - Under **User Consent**, select the checkbox to acknowledge that the log file may contain personal data and agree to share it with the above-mentioned email address, in accordance with the ManageEngine Terms of Service and Privacy Policy. **Note:** The uploaded file will be preserved only for the next 30 days. - Click **Send** to submit the Support file. The support file is then created and the log files are successfully sent to Mobile Device Manager Plus Support. ## Managed iOS device logs - [Uploading logs automatically from managed iOS devices to Mobile Device Manager Plus Support](#uploading-logs-automatically-from-managed-ios-devices-to-mobile-device-manager-plus-support) - [Uploading logs manually from managed iOS devices to Mobile Device Manager Plus Support](#uploading-logs-manually-from-managed-ios-devices-to-mobile-device-manager-plus-support) - [Extracting the logs](#extracting-the-logs) - [Sending the logs](#sending-the-logs-to-mobile-device-manager-plus-support) - [Obtaining iOS device logs using Apple Configurator (Mac only)](https://www.manageengine.com/mobile-device-management/how-to/mdm-obtain-ios-device-logs-apple-configurator.html) - [Obtaining iOS device logs using Console application (Mac only)](https://www.manageengine.com/mobile-device-management/how-to/mdm-obtain-ios-device-logs-mac-console-application.html) - Obtaining sysdiagnose logs from iOS devices. - Sign in with your Apple ID/account [here](https://idmsa.apple.com/IDMSWebAuth/signin?appIdKey=891bd3417a7776362562d2197f89480a8547b108fd934911bcbea0110d07f757&path=%2Faccount%2F&rv=1). - Then click on this [link](https://developer.apple.com/bug-reporting/profiles-and-logs/index.html?name=MDM). - Visit the **Instructions** document and follow the same. ### Uploading logs automatically from managed iOS devices to Mobile Device Manager Plus Support 1. The users can directly send the logs from the managed iOS devices. Open the MDM app, click on the **Support** button. 2. Select the **e-mail logs** option. Provide the **Issue type, Admin e-mail, Problem description** optionally enter the **Ticket ID** and click **Send**. 3. Device logs will be directly sent to Mobile Device Manager Plus Support. ### Uploading logs manually from managed iOS devices to Mobile Device Manager Plus Support To send the logs to MDM server, you have to: - [Extract the logs](#extracting-the-logs) - [Send the logs to Support](#sending-the-logs-to-mobile-device-manager-plus-support) #### Extracting the logs Follow the steps to extract the ME MDM App logs. - Open the ME MDM App in the managed device. - Navigate to **Support** tab. - Select **Collect logs**. A notification is shown when the logs are successfully compiled. #### Sending the logs to Mobile Device Manager Plus Support Follow the steps to send your logs to MDM Support. - Navigate to the **Support** tab in the MDM server. - Select **Create support file**. - Enter the following details: - E-mail - Message - Mobile Device Name - Select the logs you want to upload: - Server logs **(Applicable only for MDM On-Premises)** - Agent logs - Click **Send** and wait till the support file is created successfully. - Then send the compiled support file from the managed device. ## Managed Mac device logs - [Uploading logs automatically from managed Mac devices to Mobile Device Manager Plus Support](#uploading-logs-automatically-from-managed-mac-devices-to-mobile-device-manager-plus-support) - [Uploading logs manually from managed Mac devices to Mobile Device Manager Plus Support](#uploading-logs-manually-from-managed-mac-devices-to-mobile-device-manager-plus-support) ### Uploading logs automatically from managed Mac devices to Mobile Device Manager Plus Support 1. Click on the MDM Tray Icon above. 2. Select **Send Logs**. 3. You can find the logs zip file in Server: Directory/ManageEngine/DesktopCentral_Server/mdm-logs/1/{contains DeviceUDID as filename}. 4. Get the zip file and sent it to Support. ### Uploading logs manually from managed Mac devices to Mobile Device Manager Plus Support 1. Open Finder in the affected Mac device. 2. Select **Go** from the top Menu Bar and then **Go to folder** and type **/Library/MEMDM_agent/logs** 3. Zip all the folders inside the logs folder and send it Support manually. ## Managed Windows device logs ### Uploading logs manually from managed Windows devices to Mobile Device Manager Plus Support 1. Open Command Prompt with Admin Privilege. 2. Type the following Command: **mdmdiagnosticstool.exe -area "DeviceEnrollment;DeviceProvisioning;Autopilot" -zip "%userprofile%\Desktop\MDMDiagReport.zip"** 3. Once the Command is Executed successfully a .zip file generated in the current user desktop. 4. Send the generated .zip file to support. **Note:** While running the command, if the error code is 0x80070050 appears then re-run the command with different file. For example: Instead of MDMDiagReport.zip attempt with MDMDiagReport_1.zip ## Secure Gateway server logs ### Uploading logs from Secure Gateway server to Mobile Device Manager Plus server You can also upload the logs of the Secure Gateway configured with Mobile Device Manager Plus. Follow the steps given below to upload the logs from the Secure Gateway to the Mobile Device Manager Plus Support. - Open https://bonitas.zohocorp.com/ - Under **Products**, select **Mobile Device Manager Plus**. - Specify the **Ticket ID**, if you have one. - Specify your e-mail address to receive notifications and other required fields. - Click **Add Files** to browse and select all the files in **:/ME_Secure_Gateway_Server\logs** - Click **Upload**. The Secure Gateway server logs are uploaded to MDM server successfully. ## Shared Device Application logs ### Steps to Collect Shared Device Application Logs - Use a USB cable to connect the device to a computer. - Navigate to the following directory on the connected device: **Android -> data -> com.manageengine.mdm.android.shareddevice** - Copy all the files from the specified directory and compress them into a ZIP file. - Share the compressed ZIP file to the MDM Support.