See
Android - (ADB) Logcat