a71-common: init: Decrease the console log level

Decrease the log level to '3', which would only log KERN_ERR
and lower, onto the console. This is to avoid false-positives
in the test cases that may emit excessive logs, ultimately
leading to a watchdog bark.

Change-Id: I7967272de8e425e93035cd937982bfb3aee19597
This commit is contained in:
Raghavendra Rao Ananta
2025-01-12 21:45:12 +01:00
committed by Haky86
parent 3209c0d2d4
commit 26190e05e4
2 changed files with 4 additions and 4 deletions

View File

@@ -388,9 +388,9 @@ on boot
# an ack packet comes out of order
write /proc/sys/net/netfilter/nf_conntrack_tcp_be_liberal 1
# Set the console loglevel to < KERN_INFO
# Set the console loglevel to < KERN_WARN
# Set the default message loglevel to KERN_INFO
write /proc/sys/kernel/printk "6 6 1 7"
write /proc/sys/kernel/printk "3 6 1 7"
# Allow access for CCID command/response timeout configuration
chown system system /sys/module/ccid_bridge/parameters/bulk_msg_timeout

View File

@@ -456,10 +456,10 @@ buildvariant=`getprop ro.build.type`
case "$buildvariant" in
"userdebug" | "eng")
#set default loglevel to KERN_INFO
echo "6 6 1 7" > /proc/sys/kernel/printk
echo "3 6 1 7" > /proc/sys/kernel/printk
;;
*)
#set default loglevel to KERN_WARNING
echo "4 4 1 4" > /proc/sys/kernel/printk
echo "3 4 1 4" > /proc/sys/kernel/printk
;;
esac