logd: logcat -L takes longer causing vold to timeout.
Temporary fix to prevent device from getting stuck at boot. Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com> Bug: 28788401 Bug: 30041146 Bug: 30612424 Bug: 30630936 Change-Id: Ie4246fc3c9eb7a3af2cb909546811c85997515da
This commit is contained in:
parent
f85554e12f
commit
90a3f81c9e
1 changed files with 2 additions and 1 deletions
|
|
@ -35,7 +35,8 @@ on property:logd.logpersistd.enable=true && property:logd.logpersistd=logcatd
|
||||||
# all exec/services are called with umask(077), so no gain beyond 0700
|
# all exec/services are called with umask(077), so no gain beyond 0700
|
||||||
mkdir /data/misc/logd 0700 logd log
|
mkdir /data/misc/logd 0700 logd log
|
||||||
# logd for write to /data/misc/logd, log group for read from pstore (-L)
|
# logd for write to /data/misc/logd, log group for read from pstore (-L)
|
||||||
exec - logd log -- /system/bin/logcat -L -b ${logd.logpersistd.buffer:-all} -v threadtime -v usec -v printable -D -f /data/misc/logd/logcat -r 1024 -n ${logd.logpersistd.size:-256}
|
# b/28788401 b/30041146 b/30612424
|
||||||
|
# exec - logd log -- /system/bin/logcat -L -b ${logd.logpersistd.buffer:-all} -v threadtime -v usec -v printable -D -f /data/misc/logd/logcat -r 1024 -n ${logd.logpersistd.size:-256}
|
||||||
start logcatd
|
start logcatd
|
||||||
|
|
||||||
# stop logcatd service and clear data
|
# stop logcatd service and clear data
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue