Recently, I wrote a shell script for filtering android logcat log by package name, which is a shame that it’s not a default option on logcat.
The script can be downloaded here.
Set first argument as the package name you want to match, for example
will match any application that starts with net.kevxu
The rest of arguments will be passed to adb.