2013年7月25日星期四

android4.0 how to turn off logcat function (Bangding also give points)

As stated above, in my android source code, modify which file system terminal can enter after, logcat message does not print? Not to look for log information

I do the following attempts fail

1. modify init.rc file, log_level = 0

2. modify the device / softwinner / under the corresponding product boardconfig.mk file
BOARD_KERNEL_CMDLINE: = console = ttyS0, 115200 rw init = / init loglevel = 1
------ Solution -------------- ------------------------------

  
intention that allow the system to print log, strongly want to logcat disabled  
amount I only know there is a printed log of the underlying database or God really want is llog other horse was not clear
------ Solution - -------------------------------------------
this not been studied
------ Solution - -------------------------------------------
binding about the
------ Solution ---------------------------------------- ----
this not been studied
------ Solution - -------------------------------------------
did not get off, My idea is to consider redirecting logcat output, such as directed to / dev / null bottom. Or directly modify logutil library
------ Solution ---------------------------------- ----------

I found directly logcat.cpp   
find the main function, and then immediately return 0;   Sponsor
------ For reference only --------------------------------- ------
the entire system does not print log? Or android framework and application part?
------ For reference only ------------------------- --------------


intention that allow the system to print log, strongly want to logcat feature off
------ For reference only -------------------- -------------------

    
intention that allow the system to print log, strongly want to logcat disabled          
amount I only know there is a printed log of the underlying database or God really want is llog other horse is not clear  

NDK compile time that is used in the file Android.mk

------ For reference only ---------------------------------- -----

    
intention that allow the system to print log, strongly want to logcat disabled          
amount I only know there is a printed log of the underlying database or God really want is llog other horse is not clear  
I now want the entire system will no longer be logcat print information
------ For reference only -------------------- -------------------


intentioned people would reply about it!
------ For reference only -------------------------------------- -

details can say what? Get, I flew Results posted to the sub!
------ For reference only -------------------------------------- -

I found directly logcat.cpp
find the main function, and then immediately return 0;
# End

没有评论:

发表评论