And if you're not on Linux / MacOS, consider that Windows has "find".
This is what I do for my Xperia Arc, which also prints extraneous logcat
entries, although not at the rate of the Tab 10.1:
adb logcat | find /v "/Audio" | find /v "/lights"
"/v" means "display lines with no match", grep has "-v", so one could do:
adb logcat | grep -v "flinger"
Perhaps a test for usable logcat should be included in the Android
certification test suite?
-- Kostya
25.05.2011 11:00, Sergio Visinoni ?????:
If you're developing on Mac or Linux, you can also use grep, grepping
for your own message tags, in a terminal. Just pipe logCat output into
it like this :
adb logcat | grep MyAppTag
In a terminal. That is what I usually do for logCat.
Le 25 mai 2011 02:57, "Nathan" <critter...@crittermap.com
<mailto:critter...@crittermap.com>> a écrit :
>
> Tried that. I got nothing at first. But then I didn't realize that
> creating the filter will actually take things out of the log. I can
> see a few things for a while. They disappear pretty fast because the
> log gets full.
>
>
> Nathan
>
> On May 24, 4:56 pm, Mark Murphy <mmur...@commonsware.com
<mailto:mmur...@commonsware.com>> wrote:
> > Use the DDMS custom filters.
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > On Tue, May 24, 2011 at 7:49 PM, Nathan <critter...@crittermap.com
<mailto:critter...@crittermap.com>> wrote:
> > > I see it is going to be very hard to use LogCat to get any useful
> > > information from the Galaxy Tab.
> >
> > > Without any of my apps running, I constantly get a gazillion of
these
> > > messages:
> >
> > > 05-24 16:34:36.260: ERROR/AudioFlinger(91): TrackBase::getBuffer
> > > buffer out of range:
> > > 05-24 16:34:36.260: ERROR/AudioFlinger(91): start:
0x4a7c5040, end
> > > 0x4a7c6040 , mBuffer 0x48b05040 mBufferEnd 0x48b09040
> > > 05-24 16:34:36.260: ERROR/AudioFlinger(91):
server
> > > 7528448, serverBase -8192, user 7532544, userBase 7532544,
> > > channelCount 2
> >
> > > at the rate of 100s or 1000s per second.
> >
> > > I don't really think I'll have much chance of catching messages from
> > > my app - or anything else.
> >
> > > Has this been the case for everyone?
> >
> > > Nathan
> >
> > > --
> > > You received this message because you are subscribed to the Google
> > > Groups "Android Developers" group.
> > > To post to this group, send email to
android-developers@googlegroups.com
<mailto:android-developers@googlegroups.com>
> > > To unsubscribe from this group, send email to
> > > android-developers+unsubscr...@googlegroups.com
<mailto:android-developers%2bunsubscr...@googlegroups.com>
> > > For more options, visit this group at
> > >http://groups.google.com/group/android-developers?hl=en
> >
> > --
> > Mark Murphy (a Commons
Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy
<http://github.com/commonsguyhttp://commonsware.com/blog%7Chttp://twitter.com/commonsguy>
> >
> > _The Busy Coder's Guide to Android Development_ Version 3.6 Available!
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to
android-developers@googlegroups.com
<mailto:android-developers@googlegroups.com>
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
<mailto:android-developers%2bunsubscr...@googlegroups.com>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--
Kostya Vasilyev -- http://kmansoft.wordpress.com
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en