eclipse android logcat showing everything

android, eclipse

Solution

I forgot to say i already know about filters, sorry.

Then it is because you have a filter selected and/or eclipse has encountered an error and is just not showing everything it should be.

First Answer

Next to your logcat window should be a Filter window. Create a filter there. Then select the filter by clicking the filter you have made or was put there automatically by eclipse.

You can filter on several things.

Most people will create a `static string` in their Main `Activity`/`Service` containing the application name. Use this `static string` as your `TAG` for all of your `Logs`. Then you can filter on this string you put for the `static string`.

Also, right clicking in the logcat window will bring up a filter dialog.

Problem

Sometimes when I'm working with my android projects, and hook up my phone, the logcat in Eclipse starts to report EVERYTHING that's happening on my phone, not just the stuff relative to the project I'm working on. It only does this sometimes though. How do I stop it from showing everything and just show the things relative to my project? EDIT: I forgot to say i already know about filters, sorry. I was just wondering why sometimes eclipses logcat shows everything my phone is doing, while other times it only shows what's relative to the project i'm currently working with when running it on the phone.

Original source

Related problems