Search code examples
androidadblogcat

How To Keep Android Studios Logcat From Erasing The Log?


So everytime I get a crash the Adb logcat will like, completely clear the error I'm currently looking at and display new information. Is there anyway I can get it to retain this information for more than five seconds? I've been taking screen shots of it.


Solution

  • The only way for increasing the console output size is to set the idea.cycle.buffer.size value in idea.properties.

    Follow this link:
    https://developer.android.com/studio/command-line/logcat.html

    Or Save LogCat To A Text File:

    https://sites.google.com/site/androidhowto/how-to-1/save-logcat-to-a-text-file