Skip to content

Instantly share code, notes, and snippets.

@jburditt
Last active September 22, 2020 19:25
Show Gist options
  • Save jburditt/e155536b5ad32316c8c1b60dc97767bd to your computer and use it in GitHub Desktop.
Save jburditt/e155536b5ad32316c8c1b60dc97767bd to your computer and use it in GitHub Desktop.
Android ADB logcat
REM first step is to clear the logs. Once you do this try to reproduce the error and then write logs ASAP to limit the amount of noisy logs recorded
REM clear the logs
abd logcat -c
REM write logs to file, tag format with priority Info or higher and exclude specified tag names
REM adb logcat -d > logs.txt -v tag *:I -e "^(?!.*(TagToExcludeExpr|ViewRootImpl*)).*$"
adb logcat -d > logs.txt -v tag TelephonyProvider:W FaceWidgetCalendarManager:W SurfaceFlinger:W netd:W PersonaServiceHelper:W SamsungAlarmManager:W WindowManager:W InputDispatcher:W InputReader:W sensors-hal:W WifiConnectivityMonitor:W BugleRcsEngine:W GameTools:W InputDispatcher:W CameraService:W chatty:W netd:W .game.gametool:W AllShare(ASF_DMC):W *:I
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment