An update to Jake Wharton's PID-filtering logcat script, which is based off Jeff Sharkey's excellent logcat color script, with two changes:
- No color-coding (friendly for redirecting to files and viewing in a plain text editor) and
- Add timestamps
During application development you often want to only display log messages coming from your app. Unfortunately, because the process ID changes every time you deploy to the phone it becomes a challenge to grep for the right thing.
This script solves that problem by filtering by application package. Supply the target package as the sole argument to the python script and enjoy a more convenient development process.
./pidcat.py com.oprah.bees.android