I want to save all the contents of log cat into specific file in Android. I used Eclipse IDE to develop the android application.
How i can achieve this ?
Thanks.
I want to save all the contents of log cat into specific file in Android.
LogCat files are stored as circular memory buffers on the device.
If you run "adb logcat > myfile
" on your host system, you can retrieve the content into a file.
See this : https://sites.google.com/site/androidhowto/how-to-1/save-logcat-to-a-text-file
Other Ways to Extract LogCat:
@Blundell's Way :
Select the lines of LogCat that you want to save and then simply press Ctrl + C (for copying) and then use Ctrl+V (for paste) in any text file.
@Niek's Way :
In the LogCat tab, select the lines that you want to save. Then at the right top, click on the Small Triangle Pointing Down, called 'View Menu', and select 'Export Selection as text.." It will ask you where to save your LogCat file.