Browsing Android Logs

Is it me or the LogCat browser in Eclipse is broken lately. If I create a filter for a tag and monitor it, the browser stops updating the display. I found the old fashioned way of using adb to browse much better.

Just open a command prompt and go to Android SDK’s platform-tools folder. Then run:

adb logcat

Applying a filter is easy. Let’s say, that the tag name used in logging calls is “MyApp” and you wish to view logs up to verbose level. Then run this command:

adb shell setprop log.tag.MyApp VERBOSE

Leave a Reply

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

You are commenting using your 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