RSS

Android Debugging Tidbits: #1: More log from ‘logcat’

31 Jan

Viewing Alternative Log Buffers

The Android logging system keeps multiple circular buffers for log messages, and not all of the log messages are sent to the default circular buffer. To see additional log messages, you can start logcat with the -b option, to request viewing of an alternate circular buffer. You can view any of these alternate buffers:

radio — View the buffer that contains radio/telephony related messages.
events — View the buffer containing events-related messages.
main — View the main log buffer (default)

The usage of the -b option is:

[adb] logcat [-b ]

Here’s an example of how to view a log buffer containing radio and telephony messages:

adb logcat -b radio

Original Source: Android Developer page

Advertisements
 
Leave a comment

Posted by on January 31, 2011 in Android, Technical

 

Tags: , ,

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: