How can I filter Android logcat output by application? I need this because when I attach a device, I can’t find the output I want due to spam from other processes.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Edit: The original is below. When one Android Studio didn’t exist. But if you want to filter on your entire application I would use pidcat for terminal viewing or Android Studio. Using pidcat instead of logcat then the tags don’t need to be the application. You can just call it with
pidcat com.your.applicationYou should use your own tag, look at: http://developer.android.com/reference/android/util/Log.html
Like.
And then when you want to read the log use>
That filters out everything that doesn’t use the same tag.