Google+ Followers

Friday, 18 March 2016

Android adb command to filter logs specific to app and log time

adb logcat -v threadtime
Android adb command option threadtime will show information about pid, time and more info.

`adb shell ps | grep <package.name> | cut -c10-15` 
Find the pid of application and filter adb logs using that


adb logcat -v threadtime | grep `adb shell ps | grep <package.name> | cut -c10-15`