hey guys, sorry if my question was not clear....what i want to do is redirect stdout to a file.
As of now ,stdout and stderr output to goes to /dev/null . i tried $ adb shell stop $ adb shell setprop log.redirect-stdio true $ adb shell start but still i dont see any stdout msgs on logcat.Any other way to do this ?? Thanks for your quick replies guys !! . On Thu, Jul 2, 2009 at 12:23 PM, Michael Trimarchi < trimar...@gandalf.sssup.it> wrote: > > Mike Lockwood wrote: > > On Thu, Jul 2, 2009 at 2:44 PM, Michael > > Trimarchi<trimar...@gandalf.sssup.it> wrote: > > > >> kaushik lingarkar wrote: > >> > >>> hi all, > >>> > >>> i am running a benchmark on android which outputs the logs to the > >>> screen.unfortunately i dont see the logs on 'adb logcat'.Is there a > >>> way i can save the output logs on the screen ? thanks > >>> > >>> > >> adb logcat > /tmp/log.txt & > >> tail -f /tmp/log.txt > >> > > > > I use: > > > > adb logcat | tee log.txt > > > Yes :) it's better > Michael > > > > > -- Regards, Kaushik Lingarkar --~--~---------~--~----~------------~-------~--~----~ unsubscribe: android-kernel+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-kernel -~----------~----~----~----~------~----~------~--~---