Android Studio logcat history/buffer size

Does anyone know if there a way to increase the size of the logcat history/buffer in Android Studio? I remember there was a way to do it in Eclipse and was hoping Android Studio had a similar setting.


Solution 1:

You can also do it per project, via the IDE: Settings->Editor->General->Console: tick "Override console cycle buffer size. Enter your desired size in the text box.

Finally restart Android Studio for the changes to take effect.

enter image description here

Solution 2:

You can increase the value of idea.cycle.buffer.size=1024 in property file android-studio\bin\idea.properties, buffer size unit: (Kb). I have already try, and it works for me perfect!

Configuration description as following :

#---------------------------------------------------------------------
# This option controls console cyclic buffer: keeps the console output size not higher than the specified buffer size (Kb).
# Older lines are deleted. In order to disable cycle buffer use idea.cycle.buffer.size=disabled
#---------------------------------------------------------------------
idea.cycle.buffer.size=1024

Solution 3:

I'm afraid currently it is not possible to change logcat buffer size. However, I've created feature request in AOSP issue tracker. Here's the link: https://code.google.com/p/android/issues/detail?id=73425

Solution 4:

Note that idea.cycle.buffer.size is documented in http://tools.android.com/tech-docs/configuration with the following :

#----------------------------------------------------------------
# This option controls console cyclic buffer: keeps the console output size not higher than the specified buffer size (Kb).
# Older lines are deleted. In order to disable cycle buffer use idea.cycle.buffer.size=disabled
#----------------------------------------------------------------
idea.cycle.buffer.size=1024