How to change size of logcat buffer in Android?

前端 未结 8 570
隐瞒了意图╮
隐瞒了意图╮ 2020-12-28 13:47

I noticed that the size of the logcat buffer varies on different devices. Assuming I have root permissions on my device, is there a way to change the buffer size of the main

8条回答
  •  渐次进展
    2020-12-28 14:16

    "Logger buffer size option" in "Developer options"

    It allows to change the size to a few values between 64k and 16M.

    adb logcat -g then immediately shows the update limit.

    Tested on 5.1.1, and this answer claims that it is a recent addition.

提交回复
热议问题