Will my windows-7, command prompt allow me to filter memory logcat messages for my application.
If this is possible,how do i filter messages.
I tried this adb shell logcat | grep pid > “path to output file”
Thanks in advance!
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.
When you wrote the code to print log messages, you have the log tag, which you can grep for.
For instance,
To see these messages, type
adb logcat | grep 'applog'Also, if you have multiple different log tags, you can use the command
adb logcat | grep 'tagone\|tagtwo'Hope that helps!