Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 366513fc authored by Ruchi Kandoi's avatar Ruchi Kandoi Committed by android-build-merger
Browse files

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

am: 90a3f81c

Change-Id: I9a6a17a8d817f19305c137f11bd400ea24214b7f
parents 09b26cc3 90a3f81c
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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