How to filter logcat in Android Studio?

In logcat of Android Studio there is usually too much output, sometimes a developer would want to filter out these results so that he only gets logs from the application he is debugging. This can be achieved by the following method.
On the left side (right next to the tabs) is an icon with green arrows – it can be toggled on/off to display only logcat from the process selected in the list 🙂

aJJJa

UPDATE:
as of android studio ver 0.4.5 u will get messages from the app that is running only by default. Log cat has a new option (ON by default) which creates an application filter automatically such that only the launched application’s output is shown
 

 
Dost Muhammad Shah

Dost Muhammad Shah

Dost Muhammad specializing in Embedded Design, Firmware development, PCB designing , testing and prototyping. He enjoys sharing his experience with others .Get in touch with Dost on Twitter or via Contact form

 

5 thoughts on “How to filter logcat in Android Studio?

Leave a Reply to NatalieDiazCancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.