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 6549517
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T12:06:09+00:00 2026-05-25T12:06:09+00:00

Is there a way, to force specific system/3rd party application tags to never be

  • 0

Is there a way, to force specific system/3rd party application tags to never be logged (or shown) in the DDMS tool’s Logcat?

The scenario:

My company’s QA testers and Android developers rely heavily on looking at the logs in the LogCat to triage our application. There is a known issue I’ve read a lot about with DDMS and Eclipse where after so many log messages are written (~10,000), the UI will only display 1-5 lines and refersh itself whenever new logs are written (http://code.google.com/p/android/issues/detail?id=2752). The workaround for this is to clear the logs once we hit this point and we can then see all the logs again.

Unfortunately when testing on some devices, such as the Thunderbolt or G2X, other applications or system messages will spam the logs hard. For example on my G2X I get these messages once every 3 seconds when connected to Wifi:

09-08 15:20:11.885: DEBUG/StatusBarPolicy(1270): onSignalStrengthsChanged : SignalStrength: 21 -1 -1 -1 -1 -1 -1 gsm
09-08 15:20:11.895: ERROR/PhoneInterfaceManager(2507): getNetworkType = radiotech =  11
09-08 15:20:11.895: ERROR/PhoneInterfaceManager(2507): getNetworkType =  NETWORK_TYPE_HSPA
09-08 15:20:12.605: DEBUG/WifiStateTracker(1106): WiFiStatetracker.java handleMessage event: 8

On the Thunderbolt, one of our QA engineers was receiving the following block of messages once every .3 seconds, referring to GPS:

09-08 14:50:30.950: INFO/RPC(1574): 3000008c:00050000 reading data.
09-08 14:50:30.950: INFO/RPC(1574): 3000008c:00050000 received CALL.
09-08 14:50:30.950: INFO/RPC(1574): 3000008c:00050000 waking up callback thread.
09-08 14:50:30.950: INFO/RPC(1574): 3000008c:00050000 dispatching RPC call (XID 2711,     xdr 0x4f66a8) for callback client 3100008c:00050001.
09-08 14:50:30.950: INFO/RPC(1574): 3000008c:00050000 cloning XDR for callback client 3100008c:00050001.
09-08 14:50:30.950: INFO/RPC(1574): CLONED fd 119 --> 107
09-08 14:50:30.950: INFO/RPC(1574): 3000008c:00050000 marking input buffer as free.
09-08 14:50:30.950: INFO/RPC(1574): reading on fd 107 for 3100008c:327681
09-08 14:50:30.950: INFO/RPC(1574): START: SVC DISPATCH 3100008c:00050001 --> 00000001
09-08 14:50:30.950: INFO/RPC(1574): 3100008c:327681 sending RPC reply (XID 2711)
09-08 14:50:30.950: INFO/RPC(1574): DONE: SVC DISPATCH 3100008c:00050001 --> 00000001
09-08 14:50:30.950: INFO/RPC(1574): CLOSING fd 107

This would cause DDMS to get into the full buffer state in less than a minute, faster than our QA engineer can perform their test and check out our application’s logs.

Now I would like a way to never have these messages show up in the first place, so we do not hit this buffer limit.

Our app does use severity and filter tags. However in DDMS when we create a new tabbed window with the severity/filter we want to view, since the default Log tab gets all logs from anywhere, we hit this buffer ceiling. So a workaround with filter/severity does not seem to work.

Known workarounds:

Typically we try to turn off the service/application that is spamming the logs, if identifiable. However, if we want to test GPS functionality, then we hit the buffer limit.

Possible Solutions:

Commonware below gave me some good insight on alternative paths.

  1. Build my own UI, and then I won’t run into that UI buffer limit and the DDMS UI will automatically clear itself.
  2. Possibly have people use everything command line, and explicitly filter (get away from the UI since the problem is there and not the logs).

I’ll try to update this if I ever get around to building a different UI, or if I ever do find a silver bullet to this issue of the DDMS UI showing only 1-5 logs after X logs get written.

  • 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-25T12:06:09+00:00Added an answer on May 25, 2026 at 12:06 pm

    Is there a way, to force specific system/3rd party application tags to never be logged (or shown) in the DDMS tool’s Logcat?

    As @Torid indicates, you can filter out what is shown by various means in LogCat. You cannot block other applications or the OS from logging, short of writing your own firmware.

    There is a known issue I’ve read a lot about with DDMS and Eclipse where after so many log messages are written (~10,000), the UI will only display 1-5 lines and refersh itself whenever new logs are written.

    Considering that the logging area is a 64KB ring buffer, devices will have more than 10K messages in them much of the time, as most messages are short.

    The workaround for this is to clear the logs once we hit this point and we can then see all the logs again.

    Since “clearing the logs” does not clear the logs (it sets up a time-based filter in DDMS), your issue is with the LogCat UI, not with logging itself. Follow @Torid’s suggestions. You are welcome to roll your own UI using adb logcat as a data source if you cannot get filtering to behave as you wish.

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

Sidebar

Related Questions

Is there any way to force a C# application to use a specific version
Is there a way to keep the culture specific date time formatting but force
Is there a way to modify existing .NET assemblies without resorting to 3rd party
Is there a way to force NSMutableArray to hold one specific object type only?
Is there a way to force a context switch in C++ to a specific
Is there any way to force a listview control to treat all clicks as
Is there any way to force an update of software using RunOnce, without having
Is there a way to force the flash garbage collector to clean up freed
Is there any way to force Outlook to display HTML in the desktop alert
Is there any way to force Text-Mate to use a two-space tab instead of

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.