Skip to content Skip to sidebar Skip to footer

How To Hide, Remove, Filter Logs In The Logcat In Eclipse For Android

I had some difficulties finding the right post for hiding logs in Eclipse for Android (maybe because of the keywords of the subject), that's why I created one. Here is the post I f

Solution 1:

The filter that I have found to work the best for me is:

^(?!.*(text_to_filter_out_here)).*$

This works for anything from my experience. I have threads that run infinite loops creating a ton of spam logs that aren't associated with and tags so I just put in part of the log message in the text_to_filter_out_here part and no more logs appear.

Also possible duplicate of these two:

How can I stop admob from spamming my logcat?

How to filter out a tagname in Eclipse LogCat viewer

Solution 2:

There seem to be (for the moment) no explicit way to hide some logs (from 'libgps' for example). To hide posts which tags are 'tag_1' and 'tag_2', click on the green plus and fill the 'by log Tag' field with :

^(?!(tag_1|tag_2))

And so on if you want to add some tags to hide

Hope this will be helpful

Post a Comment for "How To Hide, Remove, Filter Logs In The Logcat In Eclipse For Android"