init: qcom.rc: Adjust the console log threshold for the kernel

This change sets the console loglevel to < KERN_INFO and
set the default message loglevel to KERN_INFO.

One implication is 'printk()' with no specific priority
will not show up on the console by default.

This is done to prevent large volumes of info prints to the
serial console, which on our systems causes watchdog bites.

Change-Id: I0fec065443c5e362ec2dc0c0cf6bab27d94150d8
This commit is contained in:
Michael Bohan 2013-08-15 13:23:31 -07:00
parent ada78f9c15
commit 7cbb2e0d6d
1 changed files with 4 additions and 0 deletions

View File

@ -144,6 +144,10 @@ on boot
mkdir /data/nfc 0770 nfc nfc
mkdir /data/nfc/param 0770 nfc nfc
# Set the console loglevel to < KERN_INFO
# Set the default message loglevel to KERN_INFO
write /proc/sys/kernel/printk "6 6 1 7"
# msm specific files that need to be created on /data
on post-fs-data
# we will remap this as /mnt/sdcard with the sdcard fuse tool