28 Aug
How to collect device console logs for iOS devices
Collecting device logs from an iOS device can be hard without a tool like iTools in Windows system. We found a solution for that. With this method we can collect logs from an real device using command line.
Requirements:
- iOSLogInfo (download by clicking here.)
- iTunes For Windows.
Steps:
- Download and save the iOSLoginfo zip download by clicking here.
- Extract the zip file contents.
- Ensure iTunes for Windows is installed.
- Connect your iOS device to a PC.
- From a command prompt navigate to the location you extracted the above contents and run one of the following to start a live log collection session:
- sdsiosloginfo.exe -dOR to write the contents to a log file run:
- sdsiosloginfo.exe -d > c:\ios_log.log
Additional Commands available:
Start logging: sdsiosloginfo.exe -d > C:\Folder\iOS_Console_Log.log
Pull disk_usage: sdsdeviceinfo.exe -q com.apple.disk_usage -x > C:\Folder\iOS_Disk_Usage.xml
Pull Device Stats: sdsdeviceinfo.exe -x > C:\Folder\iOS_Device_Stats.xml
Pull iTunes logs: sdsioscrashlog.exe -e -k C:\Folder