I'm using a real machine to test the android,logcat output, I can't stop, what's going on?

Source: Internet
Author: User

============ Problem Description ============


It seems that I do on the phone to do anything to output to the Logcat, as if part-Time debugging the entire Android system, can't stop, how to break

As below,,,, was one of the

10-06 23:13:56.055:d/bluetoothadapter (2674): 1109355176:getstate (): Mservice = null. Returning State_off
10-06 23:13:56.055:d/displaypowercontroller (2594): setbrightness mpendingrequestlocked.buttonbrightness = 61
10-06 23:13:56.075:d/rampanimator (2594): Animateto Reallytarget is 1012rate was 25mode is 0
10-06 23:13:56.080:d/displaypowercontroller (2594): setbrightness mpendingrequestlocked.buttonbrightness = 61
10-06 23:13:56.080:d/powermanagerservice (2594): Set home button brightness by screen_brightness = 112
10-06 23:13:56.270:v/audiopolicymanager (2142): Getdeviceforstrategy () from cache Strategy 1, device 1
10-06 23:13:56.270:d/chenfang_volume (2594): Getstreamvolume = 150
10-06 23:13:56.275:d/powermanagerservice (2594): Set home button brightness by screen_brightness = 111
10-06 23:13:56.275:d/displaypowercontroller (2594): requestpowerstate:screenstate=2, UseProximitySensor=false, screenbrightness=102, screenautobrightnessadjustment=0.0, Useautobrightness=true, BlockScreenOn=false, Buttonbrightness=60, Adjustbyuserinautobrightness=false, Isturnonaction=true, Waitfornegativeproximity=false
10-06 23:13:56.280:d/rampanimator (2594): Animateto Reallytarget is 1012rate was 25mode is 0
10-06 23:13:56.280:d/displaypowercontroller (2594): setbrightness mpendingrequestlocked.buttonbrightness = 60
10-06 23:13:56.285:d/bluetoothadapter (2674): 1109355176:getstate (): Mservice = null. Returning State_off
10-06 23:13:56.290:d/rampanimator (2594): Animateto Reallytarget is 1012rate was 25mode is 0
10-06 23:13:56.290:d/displaypowercontroller (2594): setbrightness mpendingrequestlocked.buttonbrightness = 60
10-06 23:13:56.290:d/powermanagerservice (2594): Set home button brightness by screen_brightness = 111
10-06 23:13:56.500:v/audiopolicymanager (2142): Getdeviceforstrategy () from cache Strategy 1, device 1

============ Solution 1============


You wrote the log in a frequently called function.

============ Solution 2============


First of all, you want to troubleshoot the model, you are now on the virtual machine to try to see if the same problem.

If there is still a problem, then check your initialization logic, see your log information is a lot of Bluetooth, voice, power and other services management information, whether you have a background service or thread has been polling, processing them

============ Solution 3============


These logs are printed by the system or other apps running in the background, and you can add a logcat filter yourself (filter log by log tag or appliction name)

I'm using a real machine to test the android,logcat output, I can't stop, what's going on?

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.