Wednesday, June 16, 2010

[android-developers] logcat buffer size

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.

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment