logcat buffer size

by Jeffrey Blattman » Thu, 17 Jun 2010 01:19:29 GMT

Sponsored Links
 i want to increase the logcat buffer size. that is, when i do "logcat" from
adb or from a shell, i want to see more historical log entries.

i see that logcat has a "-r <size>" option, but that requires "-f
<filename>" also. i don't understand what this means. i want to change the
size of the default buffer, why is it asking me for a file name? my
understanding is that logcat is just a wrapper around /dev/log/*?

i realize i might have a fundamental misunderstanding about what "-r"
actually does. for example, it sounds like it may cause the system to create
a file-based rotated log, in addition to the /dev/log/* devices? that's not
really what i want.

? thanks.


Other Threads

1. SurfaceView looses focus and doesn't restore it?


I'm working on an application using a SurfaceView (which is the
callback for events in the app) and everything works fine on the first
launch, when the window looses the focus (onPause) and it gets it
back, the game thread is still running and it's drawing on the canvas
properly, but the view doesn't get input events at all. I have a log
call in the "onTouchEvent" function in the view and it doesn't get to
call that function after the first focus-lost, that's why I think it's
just not recovering it, I've tried with requestFocus() in the view's
"surfaceCreated" function, but it does nothing. Am I missing

Thanks in advance.


2. Questions on 2.0 vs 1.5 and what device to buy

I'm looking to get started with Android development but I am a little
confused on the differences between 2.0 and 1.5/1.6. I want to be able
to develop for 2.0 so quite naturally this means I need a 2.0 device

That being said is it possible to test OS 1.5/1.6 on the 2.0 device or
would it have to be strictly tested on the emulator?

Also any tips on which android device is best to pick up for
development would be appreciated


3. linux eclipse adt can't find valid paths

4. Adding set wallpaper ability to webview

5. Vimeo mobile video search?

6. Video playback youtube, code sequence..

7. Albums not showing saved images until after restarting device