行Android的工作室最大数量的logcat数量、工作室、最大、Android

2023-09-13 01:34:17 作者:忘不了的曾经

我测试与连接到Android Studio中的真实设备。因为我不想打断我增加了很多的日志报表给我的code,找出发生了什么多线程的行为。在我的logcat看报表正在添加,到目前为止好。

I'm testing with a real device connected to Android Studio. Because of multithreading behavior that I don't want to interrupt I've added lots of log statements to my code to find out what's happening. In logcat I see the statements comming, so far so good.

运行我的完整测试,我发现我的日志的开头丢失后!在我看来,Android的工作室删除记录的最早的线路当日志是在成长过大的危险。因为我想一个testrun后取回我的整个日志文件(这样我就可以做其他的事情在此期间),我想加线的Andr​​oid工作室保留的数量。

After running my complete test I found out that the beginning of my logging is missing! Seems to me that Android Studio deletes the earliest lines of logging when the log is in danger of growing too big. Since I would like to retrieve my whole logfile after a testrun (so I can do something else in the meantime), I would like to increase the number of lines Android Studio keeps.

你知道我在哪里可以调整行logcat的具有存储这个最大值是多少?我希望/祈福/假设有这样一个参数,因为我无法找到它尚未...

Do you know where I can adjust this maximum number of lines logcat has to store? I hope/pray/assume that there is such a parameter, because I can't find it yet...

推荐答案

我发现这一点:

我发现这个想法IDE的第八个版本中,限制运行/调试控制台输出设置了所以实际上的唯一途径增加控制台输出大小设置idea.cycle。在idea.properties buffer.size价值。