I have search and not really finding an answer.
What kinda of log access does the iOS SDK offer after you have finished syncing with iTunes but are still connected to your computer开发者_开发技巧?
Can my App access any data in the log files?
Any application can access the ASL logs in iOS using the API. ASL is Apple's version of syslogd btw. Type man 3 asl
or read the Peter Hosey series on ASL.
AppSwitch is a commercial application that does just that. The sync process logs are a bit boring though, there is no detailed recollection of files synced, just the process itself... connected to usb, starting backup, blah blah.
edit: If something interesting appears on your computer during sync, you should be able to see it running fseventer You'll see activity on syncservices.log, crash reports logs if any, and other files.
精彩评论