I believe Logcat is a circular store and I wonder what the limit is before it overwrites.
Presumably this means that its time range will vary according to usage.
Is there any way to expand its capacity?
I believe Logcat is a circular store and I wonder what the limit is before it overwrites.
Presumably this means that its time range will vary according to usage.
Is there any way to expand its capacity?
Here's how to change the log ring buffer's capacity on some versions of Android:
adb logcat -G <size>: Set the size of the log ring buffer. Can add K or M at the end to indicate kilobytes or megabytes.
(Source: logcat documentation)
However, it doesn't say at what version of Android this option became available. I see that on my Android 4.2.2 device it's not a recognized option.
If you need to change the value by the android shell in a way that survives a reboot, you can use the property persist.logd.size like this:
setprop persist.logd.size 16M
You probably need to reboot for the setting to take effect. This is the same property that is changed by the developer settings.