# How to send log files to [Mobile Device Manager Plus Support](https://www.manageengine.com/mobile-device-management/support.html)? ## 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](https://www.manageengine.com/mobile-device-management/support.html) team, if provided with the logs. The logs can be sent to [MDM Support](https://www.manageengine.com/mobile-device-management/support.html) as explained below. ## MDM Server logs MDM server logs are available in **\MDMServer\logs.** ### Steps to send the server logs to 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](https://www.manageengine.com/mobile-device-management/support.html) successfully. ## Managed Android device logs - [Uploading Android device logs from MDM Server](https://www.manageengine.com/mobile-device-management/how-to/logs-how-to.html#mdm_android_logs_from_server_3) - [Uploading logs automatically from managed Android devices to Mobile Device Manager Plus Support](https://www.manageengine.com/mobile-device-management/how-to/logs-how-to.html#mdm_android_logs_from_server_1) - [Uploading logs manually from managed Android devices to Mobile Device Manager Plus Support](https://www.manageengine.com/mobile-device-management/how-to/logs-how-to.html#mdm_android_logs_from_server_2) - [Steps to Collect Remote Control Plugin Logs](https://www.manageengine.com/mobile-device-management/how-to/logs-how-to.html#mdm_android_logs_from_server_4) ### 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. ![Support Tab](https://cdn.manageengine.com/sites/meweb/images/mobile-device-management/supporttab.png) - 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](https://www.manageengine.com/mobile-device-management/support.html). ### Uploading logs automatically from managed Android devices to Mobile Device Manager Plus Support Logs can be sent directly from the MDM app. Open the MDM app. - Open the MDM app and navigate to **Privacy Policy**. ![Privacy Settings](https://cdn.manageengine.com/sites/meweb/images/mobile-device-management/logss1.png) - Enable **Debug Logging** only if the issue is occurring and needs to be reproduced for troubleshooting. If the issue is not occurring, this step is not required. ![Debug Logging](https://cdn.manageengine.com/sites/meweb/images/mobile-device-management/logs2.png) - Reproduce the issue on the device. - Navigate back to the MDM app home screen and open the **Support** tab. - Select the appropriate **Issue Type**. - Provide the **Admin E-mail** and a detailed **Problem Description**. - Enter the **Ticket ID** (optional) if a support ticket has already been created for this issue. This helps [MDM Support](https://www.manageengine.com/mobile-device-management/support.html) associate the uploaded logs with the existing support case. ![Debug Logging](https://cdn.manageengine.com/sites/meweb/images/mobile-device-management/logs5.jpg) - Select the consent checkbox acknowledging that the logs may contain personal data and agreeing to the Terms of Service and Privacy Policy. - Click **Send** to upload the logs to [MDM Support](https://www.manageengine.com/mobile-device-management/support.html). - Once the logs have been uploaded successfully, navigate to **Privacy Policy** and disable **Debug Logging**. **Device logs** are then uploaded directly to [MDM Support](https://www.manageengine.com/mobile-device-management/support.html) for further analysis. ### 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 [Mobile Device Manager Plus Support](https://www.manageengine.com/mobile-device-management/support.html). - Connect the device to the computer using a USB cable. - Navigate to **Internal Storage -> Android -> data -> com.manageengine.mdm.android -> files -> agent -> logs** - You can then send the **logs** as a ZIP file to [MDM Support](https://www.manageengine.com/mobile-device-management/support.html). ### Steps to Collect Remote Control Plugin Logs - Connect your Android device to the computer using a USB cable. - Navigate to the following directory on the connected device. The path follows the **com.zoho.remoteplugin.\*** pattern; for Zebra devices use **com.zoho.remoteplugin.zebra**, and for other devices the name will vary: **Internal Storage -> data -> android -> data -> com.zoho.remoteplugin.[device-name]** - Copy all the log files from the specified directory. - Compress the log files into a ZIP file and share it with [MDM Support](https://www.manageengine.com/mobile-device-management/support.html). ## Managed iOS device logs - [Uploading logs automatically from managed iOS devices to Mobile Device Manager Plus Support](https://www.manageengine.com/mobile-device-management/how-to/logs-how-to.html#mdm_logs_from_ios_devices_1) - [Uploading logs manually from managed iOS devices to Mobile Device Manager Plus Support](https://www.manageengine.com/mobile-device-management/how-to/logs-how-to.html#mdm_logs_from_ios_devices_2) - [Extracting the logs](https://www.manageengine.com/mobile-device-management/how-to/logs-how-to.html#mdm_logs_from_ios_devices_3) - [Sending the logs](https://www.manageengine.com/mobile-device-management/how-to/logs-how-to.html#mdm_logs_from_ios_devices_4) - [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](https://www.manageengine.com/mobile-device-management/support.html). ### 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](https://www.manageengine.com/mobile-device-management/how-to/logs-how-to.html#mdm_logs_from_ios_devices_3) - [Send the logs to Support](https://www.manageengine.com/mobile-device-management/how-to/logs-how-to.html#mdm_logs_from_ios_devices_4) #### Extracting the logs Follow the steps to extract the ME MDM App logs. - Open the ME MDM App in the managed device. - Navigate to the **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](https://www.manageengine.com/mobile-device-management/support.html). - 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](https://www.manageengine.com/mobile-device-management/how-to/logs-how-to.html#mdm_logs_from_mac_devices_1) - [Uploading logs manually from managed Mac devices to Mobile Device Manager Plus Support](https://www.manageengine.com/mobile-device-management/how-to/logs-how-to.html#mdm_logs_from_mac_devices_2) ### 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 send 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, then **Go to folder**, and type **/Library/MEMDM_agent/logs**. 3. Zip all the folders inside the logs folder and send it to 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: ```text mdmdiagnosticstool.exe -area "DeviceEnrollment;DeviceProvisioning;Autopilot" -zip "%userprofile%\Desktop\MDMDiagReport.zip" ``` 3. Once the command is executed successfully, a `.zip` file is generated on the current user's desktop. 4. Send the generated `.zip` file to Support. **Note:** While running the command, if error code `0x80070050` appears, re-run the command with a 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 [Mobile Device Manager Plus Support](https://www.manageengine.com/mobile-device-management/support.html). - Open [https://bonitas.zohocorp.com/](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 [MDM Support](https://www.manageengine.com/mobile-device-management/support.html).