Alexey Zakharov Alexey Zakharov - 1 year ago 133
Android Question

How to filter Android logcat by application?

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.

Answer Source

You should use your own tag, look at:


Log.d("AlexeysActivity","what you want to log");

And then when you want to read the log use>

adb logcat -s AlexeysActivity 

That filters out everything that doesn't use the same tag.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download