Getting log information

by sudheer » Sun, 07 Sep 2008 09:26:46 GMT

Sponsored Links
 Hello All

I am running an application in emulator. how can I get the logs re
directed to a file in android file system (say ../../tmp/mylog.txt)??
any idea?
I tried using adb logcat -f "file" option but it isn't returning any i doing something wrong?
or is there a method to do this.

my scenario is
I install an application using install command
I execute the application (using activity manager)
I need to get the adb logs generated for this application execution to
a file in android file system
which I will recover later to my work station.

I  tried using adb logcat -f option and it didn't dump any data into
the file.
whats the best way to do this?

any pointers will be appreciated.

Best Regards,


Other Threads

1. Boss Gungwi... LGnya indent yaa?

Hiksss... katanya tgl 6 ya?
Kalo dibanding spica bagusan mana yaa?
*lagi ngeracunin temen*

~sent from ma Android phone~

"Indonesian Android Community [id-android]" 

2. Reasons for Root?

I am in the process of collecting ideas from the community on one
"simple" question:

What are the *business reasons* why a device manufacturer should allow
replacement firmware and/or root access by default on devices?

The full post, along with some existing feedback, can be found here:


If you would like to provide input and would prefer to reply to this
message rather than comment on the AndroidGuys post itself, cool! Here
is what I am looking for (again, more details on that post):

-- I want business and economic arguments, not m{*filter*}or ethical ones,
since we're long on the moral/ethical reasons and short on the business ones

-- Act like professionals

-- That being said, both carrots and sticks are valid suggestions

-- Do not overestimate the size of the current modding community

I will be rolling up the ideas into a follow-up post, and I hope to put
these ideas to good use in the weeks and months to come.


Mark Murphy (a Commons Guy)
 http://www.***.com/  |  http://www.***.com/ 

Android Online Training: 26-30 April 2010:  http://www.***.com/ 


3. Override enableMyLocation in MyLocationOverlay

4. Repeating alarm on specific day of the week

5. HTC Hero runs Droid 1.5 but the focus is on 2.x

6. Real time Audio

7. Nexus One lost the TCP connection, but my application cannot know for long time