All Board Android logcat

Document created by jesseg Employee on Aug 6, 2012Last modified by Jodi Paul on May 15, 2013
Version 6Show Document
  • View in full screen mode

logcat


Logcat is the most powerful debug tool for Android. Logcat is to Android what the dmesg is to kernel. It shows messages logs from system and applications.

 

logcat can be used directly on board console or via adb.

 

$ logcatdirectly on board console. It gives the complete log message list and waits for any new log message.
$ logcat &board console. It gives log list and run in background. Any new log message will be displayed.
# adb logcatUsing adb you can get log messages through Ethernet or USB connection.
$ logcat -d > logcat.txtit sends log messages to logcat.txt file and exits.
$ logcat *:Wit filters expression displays all log messages with priority level "warning" and higher, on all tags *

 

* http://developer.android.com/guide/developing/debugging/debugging-log.html

Attachments

    Outcomes