2

Android Logcat is logging way too much stuff on real device and sometimes the emulator.

My Settings are: Show only selected application but then it says above No Debuggable Applications.

The Log Level is currently on Debug

Here is an example:

05-29 04:53:36.173      414-464/? I/WifiHW﹕ CMD: SIGNAL_POLL
05-29 04:53:36.193      414-464/? I/WifiHW﹕ REPLY: RSSI=-50
05-29 04:53:36.193      414-464/? I/WifiHW﹕ REPLY: LINKSPEED=65
05-29 04:53:36.193      414-464/? I/WifiHW﹕ REPLY: NOISE=9999
05-29 04:53:36.193      414-464/? I/WifiHW﹕ REPLY: FREQUENCY=0
05-29 04:53:36.223      414-427/? E/Sensors﹕ pjn=== LightSensor, als_value:50.000000
05-29 04:53:36.483      414-427/? E/Sensors﹕ pjn=== LightSensor, als_value:51.000000
05-29 04:53:36.743      414-427/? E/Sensors﹕ pjn=== LightSensor, als_value:50.000000
05-29 04:53:36.873      414-427/? E/Sensors﹕ pjn=== LightSensor, als_value:51.000000
05-29 04:53:37.003      414-427/? E/Sensors﹕ pjn=== LightSensor, als_value:50.000000
05-29 04:53:37.133      414-427/? E/Sensors﹕ pjn=== LightSensor, als_value:51.000000
Ojonugwa Jude Ochalifu
  • 26,627
  • 26
  • 120
  • 132
tread
  • 10,133
  • 17
  • 95
  • 170
  • possible duplicate [here](http://stackoverflow.com/questions/14806484/real-device-produce-too-many-log) – muilpp May 29 '15 at 22:03
  • Related posts - [Filter LogCat to get only the messages from My Application in Android?](https://stackoverflow.com/q/6854127/465053) & [How to filter logcat in Android Studio?](https://stackoverflow.com/q/19931987/465053) – RBT Aug 28 '18 at 00:13

3 Answers3

0

In your Apps you will have something like :

Log.v(TAG, "Test"); 

For Android Studio:

In your Logcat filter, type in what you have for TAG

For Eclipse:

In your Logcat filter, type in what you have for TAG preceded by tag:

For example: tag:MY_TAG

Knossos
  • 15,802
  • 10
  • 54
  • 91
  • how about multiple tags? he should do filter base on the package name or use one of the answers above – Kosh Aug 01 '16 at 05:47
  • For what it is worth, the question never asks about multiple tags. Just that they want to reduce the clutter in logcat. Using appropriate tags is a great way of reducing clutter in logcat. I don't think a downvote is necessary. – Knossos Aug 01 '16 at 13:44
0

If it says No Debuggable Applications:

Article Answered on Stackoverflow

You also should have Tools->Android->Enable ADB Integration active.
Community
  • 1
  • 1
tread
  • 10,133
  • 17
  • 95
  • 170
0

Got the final solution here.

If android studio shows that

No Debuggable Applications

Then there must be a dropDown list nearby.

Next, choose the application you desire to see it's logs in the dropDown list.

And the idle logs will just disappear finally.

enter image description here

guo
  • 9,674
  • 9
  • 41
  • 79