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 Studio中的logcat历史/缓冲区的大小?我记得在Eclipse中有一种方法可以做到这一点,并希望Android Studio有类似的设置。
5 个解决方案
#1
#2
13
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!
您可以在属性文件android-studio \ bin \ idea.properties中增加idea.cycle.buffer.size = 1024的值,缓冲区大小单位:(Kb)。我已经尝试了,它对我来说很完美!
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
#3
8
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
我担心目前无法更改logcat缓冲区大小。但是,我在AOSP问题跟踪器中创建了功能请求。以下是链接:https://code.google.com/p/android/issues/detail?id = 73425
#4
3
Note that idea.cycle.buffer.size is documented in http://tools.android.com/tech-docs/configuration with the following :
请注意,idea.cycle.buffer.size记录在http://tools.android.com/tech-docs/configuration中,其中包含以下内容:
#----------------------------------------------------------------
# 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
#5
0
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.
或者,主要是当您有大量数据并且想要暂时查看它时,请使用filter(包Logcat优先级)并将输出输出存储到文件中。
#1
38
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.
您也可以通过IDE为每个项目执行此操作:设置 - >编辑器 - >常规 - >控制台:勾选“覆盖控制台循环缓冲区大小。在文本框中输入所需的大小。
#2
13
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!
您可以在属性文件android-studio \ bin \ idea.properties中增加idea.cycle.buffer.size = 1024的值,缓冲区大小单位:(Kb)。我已经尝试了,它对我来说很完美!
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
#3
8
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
我担心目前无法更改logcat缓冲区大小。但是,我在AOSP问题跟踪器中创建了功能请求。以下是链接:https://code.google.com/p/android/issues/detail?id = 73425
#4
3
Note that idea.cycle.buffer.size is documented in http://tools.android.com/tech-docs/configuration with the following :
请注意,idea.cycle.buffer.size记录在http://tools.android.com/tech-docs/configuration中,其中包含以下内容:
#----------------------------------------------------------------
# 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
#5
0
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.
或者,主要是当您有大量数据并且想要暂时查看它时,请使用filter(包Logcat优先级)并将输出输出存储到文件中。