On the fly can I read & send the crash logs generated from my previous crash. Which folder should I read? And I want to delete the logs once sent so that for next crash I do not end up sending previous crash logs. I will be sending the logs to server.
Asked
Active
Viewed 2,534 times
2 Answers
4
I'm currently using QuincyKit to collect and send crash logs: https://github.com/TheRealKerni/QuincyKit
The framework comes with a server side backend, but if you don't want to run your own server you can also use HockeyApp. As far as I know TestFlight is also planning to offer a similar service.
If you implement your own solution, you probably shouldn't delete the crash logs on the device, but remember the date of the last crash log sent to your server.
![](../../users/profiles/81038.webp)
Markus Müller-Simhofer
- 3,293
- 1
- 26
- 30
-
I had no idea this was possible. This is my one thing learned today! :) – Simon Aug 24 '11 at 19:12
4
You can access the system logs on iOS using the ASL (Apple System Logger) APIs, previously answered here.
There's a free app in the store that does this, see this answer. I find this is useful to see the logs when you're not connected to Xcode.