Logcat goes crazy on Android Studio

1.5k views Asked by At

Since version 1.2.2 of Android Stduio, LogCat doesnt appear to be able to only filter the output messages of my app. Instead, it filters all my device messages.

I have Log level "Debug" and "Show only selected application" enabled.

Here's a screenshot of my LogCat: https://i.stack.imgur.com/z8avs.jpg

1

There are 1 answers

1
Gino Biervliet On BEST ANSWER

This is because you see log lines of the whole device.

On the right top side of logcat you see: "Show only selected application". For some reason this does not do what you expect it to do. What I always do is filter on package name.

  1. Open the dropdown menu that says "Show only selected application"
  2. Select "Edit Filter Configuration"
  3. Enter the Package Name
  4. Press OK

From this point on you will only see logging of your package.