Hello All, Thanks for your inputs, Filtering of log message helped me lot to debug.
Regards, Yash. ---------- Forwarded message ---------- From: Michael <michaeldh...@gmail.com> Date: Thu, Apr 7, 2011 at 7:01 PM Subject: [android-developers] Re: Logcat debug level --help To: Android Developers <android-developers@googlegroups.com> try adb logcat *:e On Thu, Apr 7, 2011 at 11:07 AM, Skyler Kaufman <sky...@google.com> wrote: > Hello Yash :) > > You can pass logcat a filter specifying which level of event to show, in > the form tag:priority, where the priority is given as the single letter > prefix you have mentioned. Sounds like you don't want to specify a tag, so > you can just use * (all tags). For example, to show only error messages: > > $ logcat *:E > > There's some documentation on filters for logcat at > http://developer.android.com/guide/developing/debugging/debugging-log.html#filteringOutput > > > ~skyler > > On Thu, Apr 7, 2011 at 6:12 AM, Yash Jain <yash2le...@gmail.com> wrote: > >> Hello All, >> I have one dumb question, >> when i read a logcat message through command logcat -d, i will get a list >> of all events with the prefix I, V, D, W, and E which represent >> *I*nformation, >> *V*erbose, *D*ebug, *W*arning and *E*rror. >> I am interested only to display the error messages in the log file( logcat >> -f log_error.txt) or to the console( logcat -d). >> Can anyone help me to print only the error log messages. >> >> Thanks in advance. >> >> Regards, >> Yash Jain. >> >> -- >> You received this message because you are subscribed to the Google Groups >> "android-platform" group. >> To post to this group, send email to android-platf...@googlegroups.com. >> To unsubscribe from this group, send email to >> android-platform+unsubscr...@googlegroups.com. >> For more options, visit this group at >> http://groups.google.com/group/android-platform?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