Monday, May 5, 2014

How to turn off all log Andrews systems??


Such as the title, now encounter a problem in their own equipment installed on the application of a third party, but the applications have problems, too much log information about printing, resulting in a serious impact this program to run the system, ultra-high memory share.

The problem is that there is no way (or input a command) can print all the log information systems are turned off, or just turn off debug level, it will be open to err level? ?
<-! Main posts under Banner (D4) -><-! Posts under the main text (D5) ->
Reply:
You can set the level log of ah
Reply:
cited a floor huxiweng reply:
you can set the level log of ah


I mean control of third-party applications log Print
Reply:
Modify the ROM
Reply:
adb shell
getprop | grep log

Output information to see if there's a similar log enable disable attribute directly modify any property values ​​setprop then restart
Reply:
Add that phone to
rootsu to the root user
Reply:
grep log nothing, getprop from start to finish where I read it again, did not seem to find it
< img alt = "" src = "http://img.bbs.csdn.net/upload/201403/31/1396250476_587351.jpg" />
Reply:
references, 5th Floor ncepu307 reply:
add that phone to root
su to the root user

This is getprop information on my device, it looks like there is no
Reply:
reference to the third floor DrSmart reply:
modified ROM of

Where to modify the ROM?
Reply:
Command: adb logcat *: E
Print only Error and fatal error of log
Reply:
reference to the 9th floor dxjwolf reply:
command: adb logcat *: E
Error and fatal error only print the log

I do not mean that.
logcat just log information is displayed, even if you do not log, there are still a steady stream of information output outside, but is not showing it.
So I want to do is how to put this log from the source stopped, do not want foreign output, similar to its own program code Log.d like commenting,
How this should be done? There is no way
Reply:
Do you mean to put this apk's log output off?
Try this
http://blog.csdn.net/jiese1990/article/details/21752159
Reply:
reference to the 11th floor dxjwolf reply:
you mean to put this apk's log output off?
Try this
http://blog.csdn.net/jiese1990/article/details/21752159

Thank you, though this is not the answer to my problem, but he solved my another question, thank you, and stick to the sub knot

No comments:

Post a Comment