Search code examples
androidloggingandroid-studiologcat

Android studio "Clear All" in log cat, logs still come back when changing log level filter


In LogCat, when I click the "clear all" button, it appears to clear all of the logs. However, if I change the log level, and come back to the previous log level, all of the logs have returned.

For example, I'm looking at "Verbose". I choose "Clear all". The log clears. I switch over to "Debug". I switch back to "Verbose", now all of the Verbose logs that I thought I cleared, have now come back. It displays everything since I opened Android Studio.

Additionally, the same issue occurs if I clear all, and then re-launch my app; I get flooded with old debug messages before seeing any new ones.

Is there any way to remove the logs for good, without having to restart Android Studio?

enter image description here


Solution

  • The following screenshot is from Android Studio 1.1 Beta 4.

    Android Studio - clear logs from UI

    Hope this helps.