Quick and dirty approach might be to "adb logcat -d >yourLocalFile". This will dump to stdout and then redirect to a local file. Alternately, you might logcat -f to a file and then adb pull.
On Sep 8, 2:12 am, sudheer <[EMAIL PROTECTED]> wrote: > Hello > I am trying to develop an application which will try to extract the > logs generated by system when it is executed. I try to use the exec > command to start logcat at the start of my program and later want to > collect the log messages generated during the application execution. > when I tried using the command 'logcat -d -f filepath', an empty file > is created in the specified filepath . Is there any way for me to > redirect the logs generated by application into a file in the android > file system? > how should I go about this? > > Thanks in advance, > Sudheer --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~----------~----~----~----~------~----~------~--~---