lundi 21 décembre 2015

automated log parsing and error reporting iOS app

Finally have my app working functional wise (with lots of help from the SO gurus). Now its time to stress-test and optimize performance.

I am using DDLog(cocoa lumberjack) to keep track of issues (both fatal and indications of potential non-optimal behavior). I plan to start creating some random drops on my back-end to simulate failures.

Instead of manually looking at logs, I want to create a system that automatically pulls the logs from devices and back-ends, looks for signatures and reports issues.

Any pointers on good examples on how this can be done will be greatly appreciated.

In particular,

  1. Once I get the logs from the devices (I plan to upload them to the server), how do I filter out "error" and "debug" level prints efficiently in DDLog

  2. How do I get the logs from GoogleAppEngine so that I can programmtically parse (same question own filtering by level applies)

  3. Whats the best way to analyze the logs together (a cron job in my GAE app that runs some python scripts on the logs and sends me a summary through email?)

Will any of the systems like Crashlytics helps with this kind of stuff?

Aucun commentaire:

Enregistrer un commentaire