Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6321157
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T16:06:05+00:00 2026-05-24T16:06:05+00:00

I have developed an Android application that performs some network activity. Inside the classes

  • 0

I have developed an Android application that performs some network activity. Inside the classes I have implemented the log messages like verbose, debug, info, warn and error. But when I open logcat with argument -d its listing the entire log messages from the device. So its difficult to trace the log messages of my application. Is there any way to filter the log messages of my application from the entire logcat output?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T16:06:06+00:00Added an answer on May 24, 2026 at 4:06 pm

    Every Android log message has a tag and a priority associated with it:

    The tag of a log message is a short string indicating the system
    component from which the message originates (for example, "View" 
    for the view system).
    
    The priority is one of the following character values, ordered 
    from lowest to highest priority:
    
    V — Verbose (lowest priority)
    D — Debug
    I — Info
    W — Warning
    E — Error
    F — Fatal
    S — Silent (highest priority, on which nothing is ever printed)
    

    Here’s how to do it:

     adb logcat ActivityManager:I MyApp:D *:S
    

    This will make logs with the tag ActivityManager show up if they have an “Info” level priority or above (Warning, Error, Fatal). The same applies to messages with the tag MyApp and a priority of Debug or above. *:S makes all other messages be silent.

    Check this out in the documentation: http://developer.android.com/guide/developing/tools/adb.html#logcat

    Further tips

    • I suggest you to keep all other logs to Error or Warning level (*:W). Sometimes you get a problem in your application due some system event or third party application and you do want to be notified of these events!

    • You might want to change the output format of logcat. Play around with these settings (information in the same link above)

    • You might want to check out Coloured output for logcat. I’ve done some modifications to this script to suit better my needs so maybe you could adjust it too. (I tried to send my modifications to the author but he didn’t reply).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have developed an application that does require to do constant network activity. This
I have developed some custom DAO-like classes to meet some very specialized requirements for
I have developed an Android application that is handling multitouch in a view. I
I have developed an Android application that has 1 process and 2 services. But
I have developed an simple android application that says hello. Now i have transferred
I have developed an android application. In that i have used front facing camera
I have developed some classes with similar behavior, they all implement the same interface.
I have developed some reusable android component which is basically a class . This
I developed an application that uses lots of images on Android. The app runs
I have developed android application. Now it is time to give it to the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.