skip to Main Content

In the old logcat all I would have to do is type my package name in the search bar.

e.g com.dave.mynewapp

but now when you type in the package name it constantly displays log messages EVERY SINGLE SECOND that I don’t need making it hard to debug.

enter image description here

Also now, the cursor doesn’t automatically scroll down when a new log appears making it even more frustrating

enter image description here

I am able to filter it by typing the activity name… e.g MainActivity, but it becomes very annoying to type out every single class name that I have logs in.

Is there a way to get all the logs I manually created, but ignore the clutter I have in the picture above?

2

Answers


  1. maybe you can try this :

    filter specify the package name package:com.dave.mynewapp

    filter specify the Tag tag:MainActivity

    filter mutil tags like package:com.dave.mynewapp tag:MainActivity tag:MainActivity2

    detail info about this link https://developer.android.com/studio/debug/logcat

    Login or Signup to reply.
  2. I had luck by filtering on: tag:info

    var tag = "info"

    Log.i(tag, "Names: $names")

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search