You must hold the DUMP permission to read the logs: http://code.google.com/android/reference/android/Manifest.permission.html#DUMP
On Sep 8, 2:13 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 Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] Announcing the new Android 0.9 SDK beta! http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---