Enable Diagnostics Logs on iPhone / iPad
You can enable Diagnostics Logs by installing a special configuration profile on the device:
1. Use your device to read this email and tap the attachment (SyncDiagnosticsProfile.mobileconfig).
2. Tap Install, then Install Now to install the profile. Enter your passcode if prompted.
3. Tap Reboot to complete the installation. Wait for your device to reboot. Logging is now enabled.
4. Reproduce the sync issue you reported.
5. Under the Settings menu, tap Mail, Contacts, Calendars, then tap the account you are troubleshooting. Tap the newly added Diagnostics menu and tap Save Logs.
6. Enter any notes you feel would be helpful to Apple (optional), and tap OK.
7. To retrieve the log file, connect your device to iTunes on your computer. iTunes should open automatically and copy the log file to your computer. If iTunes does not copy the log file, select your device in iTunes and click Sync.
8. The log file may be found in one of the following locations:
§ Windows 7 and Vista: C:\Users\[Your User Name]\AppData\Roaming\Apple Computer\Logs\CrashReporter\MobileDevice\<device-name>\DALogs\
Note: The AppData folder is hidden by default. Choose Folder and Search Options from the Organizemenu in the file browser window, then click the View tab and change the "Hidden files and folders" option to "Show hidden files and folders".
§ Windows XP: C:\Documents and Settings\[Your User Name]\Application Data\Apple Computer\Logs\CrashReporter\MobileDevice\<device-name>\DALogs\
Note: The Application Data folder is hidden by default. Choose Tools > Folder Options in the file browser window, then click the View tab and change the "Hidden files and folders" option to "Show hidden files and folders".
§ Mac OS X: /Users/[username]/Library/Logs/CrashReporter/MobileDevice/<device-name>/DALogs/
9. Compress the desired log files into a ZIP file and email as an attachment to Apple.
Note: Detailed device logs may include personally identifiable information, including, without limitation, your account name, information regarding your contacts, calendar events, and email correspondence ("Device Logs"). Providing these Device Logs is voluntary, but if you do provide them, you acknowledge that Apple may use them internally for diagnostic purposes. Alternatively, you may wish to create a temporary account, with fictional data, for testing purposes.
10. To maintain performance, disable logging by removing the configuration profile. Tap Settings > General > Profiles, select the profile, and tap Delete.