Android Studio logcat history/buffer size

AndroidAndroid StudioLogcat

Android Problem Overview


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.

Android Solutions


Solution 1 - Android

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 - Android

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 - Android

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 - Android

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

Solution 5 - Android

Alternatively mainly when you have big size of data and you wanna temporarily review it, use filter (package Logcat priority) and store output output to a file.

Solution 6 - Android

It seems to be that with every major update of android studio the buffer size is reset to its insufficient size of 1024. This is at least the 3rd time I increase it

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestiontriadView Question on Stackoverflow
Solution 1 - AndroidNickView Answer on Stackoverflow
Solution 2 - AndroidcodezjxView Answer on Stackoverflow
Solution 3 - AndroidDamian JeżewskiView Answer on Stackoverflow
Solution 4 - AndroidnetguiView Answer on Stackoverflow
Solution 5 - AndroidMaher AbuthraaView Answer on Stackoverflow
Solution 6 - AndroidFrankKrumnowView Answer on Stackoverflow