Search code examples
androidlogcatandroid-logcat

Log cat reading lots of data when i connect my mobile to to IDE


this question is not related to programming but it is now eating up my head. problem is that i am testing my app on my android mobile by enabling usb debug mode on. Initially it was fine and i used to see on my logcat screen only the messages what i print through my own app but now unnecessary messages are popping up on Log cat and those are like hundreds in every minute. i believe i have enabled any option by mistake which causing other apps installed in my mobile filling up my logcat screen of IDE. problem has grown so much that it has become almost impossible to find the log cats of my own app in the logcat.... i do not see any option checked in the developer{} screen except "enable usb debut mode" . can anyone suggest me any solution so that i see only my apps logs on log cat screen.... thanks !


Solution

  • If you are using Android Studio (and I think even on Eclipse is the same), you should set your LogCat filter to your app, like the img below:

    Your logcat tab

    The img url: https://i.sstatic.net/o7vik.png

    By selecting your app, you will only see the logs related to your app !