Hi why you don't use grep? $ adb logcat|grep myappname
On Fri, May 7, 2010 at 3:55 AM, redders <[email protected]> wrote: > I fear the answer is no, but before I change the structure of all of > my log messages: > > Is there any way to do this: > $ adb logcat *:S com.myappname.*:V > > Or in words: I want to silence every tag that goes to logcat except > the ones that begin with com.myappname. Currently my classes print > into the log with this.getClass().getName() as the tag - typing each > tag out individually in the filter isn't an option, so is there anyway > to use the wildcard? > > The above command doesn't work, because it just silences every class, > including the ones I've explicitly told to be verbal. > I've also tried: > > $ adb logcat -s com.myappname.*:V > $ adb logcat com.myappname.*:V *:S > > to no avail. > > I have a feeling I might have to log in a more constant fashion. Or I > might just use log4J. > Any help/suggestions appreciated - perhaps you use a static log class? > > Let me know, > Cheers, > ~redders > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

