Need help with logcat


Last Updated:

  1. weasel

    weasel Well-Known Member This Topic's Starter

    Joined:
    Mar 5, 2010
    Messages:
    401
    Likes Received:
    23
    This is one thing I have yet to figure out. For some reason I just cannot get the darned thing to output to a file. I found this link Android Debug Bridge | Android Developers and it has lots of commands. I can get logcat to appear on the screen, but that's about it.

    Here is what I am doing:
    Start, Run, "C:\Derek's phone firmware\android-sdk-windows\tools\adb.exe" logcat and poof log appears on the screen.

    If I use "logcat -f" it just appears on the screen and disappears is less than a second. Also, no file is to be found ( the default file is supposed to be stdout ).

    Can someone please tell me what I am doing wrong ? Its driving me nuts !
     

    Advertisement
  2. Snazzy

    Snazzy Well-Known Member

    Joined:
    Jan 13, 2010
    Messages:
    460
    Likes Received:
    37
    I am not familiar with your method but I did notice while playing with the android tool DDMS that it has an option to create and save a logcat. DDMS is found in the tools android-SDK/tools directory of your computer.

    It also does nifty screen captures too.
     
    weasel likes this.
  3. weasel

    weasel Well-Known Member This Topic's Starter

    Joined:
    Mar 5, 2010
    Messages:
    401
    Likes Received:
    23
    Excellent. Wil give that a try.
     

Share This Page

Loading...