Logcat File?

Search This thread

NvrSlowsDown

Member
Mar 6, 2009
6
0
I have been searching around but haven't found the answer. I have got logcat working but I haven't figured out how to make a logcat file to look through on my computer. I found a post that said to type: adb shell logcat > /logcat but the screen just sits there without anything ever happening.

I think it would also be helful for someone to write up a good tutorial on how they use logcat to figure out problems with there phone so people can do more than just come into the rom forums and say they are getting a force close on this app or there is a lot of lag. Those don't help much in figuring out if it is a problem with the rom, the app, or some old apps hanging around causing trouble and time for a wipe.
 

NvrSlowsDown

Member
Mar 6, 2009
6
0
I answered my own question.
You type:
adb logcat > logcat.txt
Then the command prompt screen doesn't appear to be doing anything but it is writing everything to the logcat.txt file which is in the SDK tools folder that you are running the logcat file from.

Now my question is, is it normal to get this Low memory warning. I wouldn't think it would be but I don't know for sure. I do see some background applications that I can get rid of permanantly but is there anything else I can do or I can look for to prevent this. Also to exit the logcat I have just been unplugging the usb cord from the phone, is there some other way to end the command?

D/dalvikvm( 3678): GC freed 4441 objects / 377680 bytes in 303ms

D/dalvikvm( 3685): GC freed 3698 objects / 264640 bytes in 312ms

I/ActivityManager( 132): Process com.android.browser (pid 3614) has died.

I/ActivityManager( 132): Low Memory: No more background processes.

I/WindowManager( 132): WIN DEATH: Window{43995d08 com.android.browser/com.android.browser.BrowserActivity paused=false}

D/dalvikvm( 245): GC freed 7 objects / 248 bytes in 450ms

D/dalvikvm( 569): GC freed 7 objects / 240 bytes in 429ms

D/dalvikvm( 189): GC freed 81 objects / 4624 bytes in 460ms

D/dalvikvm( 132): GC freed 3069 objects / 131080 bytes in 674ms

D/dalvikvm( 3639): GC freed 7 objects / 256 bytes in 968ms

D/dalvikvm( 3632): GC freed 7 objects / 256 bytes in 981ms

D/dalvikvm( 3646): GC freed 7 objects / 248 bytes in 978ms

D/dalvikvm( 443): GC freed 7 objects / 248 bytes in 1018ms

D/dalvikvm( 3192): GC freed 7 objects / 240 bytes in 1053ms

D/dalvikvm( 510): GC freed 48 objects / 1720 bytes in 1014ms

D/dalvikvm( 359): GC freed 7 objects / 240 bytes in 1101ms

D/dalvikvm( 3701): GC freed 1207 objects / 95176 bytes in 858ms

D/TrackingPatternView( 132): width=480 textureWidth=120

D/dalvikvm( 3678): GC freed 1354 objects / 99528 bytes in 516ms

D/dalvikvm( 3685): GC freed 887 objects / 53240 bytes in 462ms

D/TrackingPatternView( 132): width=480 textureWidth=120

D/HomeLoaders( 3685): load applications

D/HomeLoaders( 3685): loading user items

D/HomeLoaders( 3685): --> starting workspace loader

D/gmail-ls( 3678): Purging old attachments