Android LogCat log with keyword highlighting

By | May 28, 2013

These are some handy Linux terminal commands that give a filtered LogCat log. The given keywords are highlighted in the terminal


adb logcat -v time wpa_supplicant:S dalvikvm:S | grep --color -E '^|some|keywords|to|highlight'

The following command only shows prints from a given tag:

adb logcat -v time MyTag:D *:S | grep --color -E '^|some|keywords|to|highlight'

Leave a Reply

Your email address will not be published.