0

I have an app which seems to crash sometimes but of course not at that time when I have it connected to my PC and run logcat.

Is there a good method of grepping logcat in background (best would be filter by app but filter by text would already be helpful) and write the logfile to SD card for later inspection?

0

You could use a logcat app that writes the log to your sd card. Depending on the Android version on your device, that might require root permissions: latest with Android 4.2 "normal apps" only can see their own log. Checkout my list for Logcat & Co. for possible candidates. I know that e.g. aLogCat has the feature I've described. It also has filtering capabilities. Same applies to several other candidates of the linked list.

  • Thanks. root is no problem for me. But are you sure that aLogCat has this feature? It displays the logs but I don't see a settings where the logs are stored continuously in background. (To my understanding, the log uses a ring buffer). I also tried others but I could not find anything. Do I misunderstand the concept? – divB Mar 17 '15 at 23:13
  • Ringbuffer is correct. And it lists "save logs" amongst its features. If you cannot figure out how to do it with that app, take a look at Logcat Extreme, which praises itself as "Logcat recorder (even when in background)". The recording button of that one can hardly be missed :) – Izzy Mar 17 '15 at 23:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.