Skip to content
Snippets Groups Projects
Commit 90a3f81c authored by Ruchi Kandoi's avatar Ruchi Kandoi Committed by Mark Salyzyn
Browse files

logd: logcat -L takes longer causing vold to timeout.


Temporary fix to prevent device from getting stuck at boot.

Signed-off-by: default avatarRuchi Kandoi <kandoiruchi@google.com>
Bug: 28788401
Bug: 30041146
Bug: 30612424
Bug: 30630936
Change-Id: Ie4246fc3c9eb7a3af2cb909546811c85997515da
parent f85554e1
Branches
Tags
No related merge requests found
......@@ -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
mkdir /data/misc/logd 0700 logd log
# 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
# stop logcatd service and clear data
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment